Thread: compile PGSQL in WinXP SP1

compile PGSQL in WinXP SP1

From
"hlavki@medium13"
Date:
Hello,

I am begginer in PostgreSQL, but I need to develop in Win32.

1. I download file postgresql-snapshot.tar.gz
2. I follow instructions on PostgreSQL documentation
3. cd /src
4. nmake /f win32.mak

but error occured...

describe.c(1680) : warning C4761: integral size mismatch in argument; conversion
 supplied
tab-complete.c
mbprint.c
        link.exe @C:\DOCUME~1\header\LOCALS~1\Temp\nme02748.
command.obj : error LNK2001: unresolved external symbol _simple_prompt
startup.obj : error LNK2001: unresolved external symbol _simple_prompt
.\Release\psql.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'

I don't know, where is problem... thanx, Miso


Re: compile PGSQL in WinXP SP1

From
Reshat Sabiq
Date:
Try installing cygwin.

hlavki@medium13 wrote:

>Hello,
>
>I am begginer in PostgreSQL, but I need to develop in Win32.
>
>1. I download file postgresql-snapshot.tar.gz
>2. I follow instructions on PostgreSQL documentation
>3. cd /src
>4. nmake /f win32.mak
>
>but error occured...
>
>describe.c(1680) : warning C4761: integral size mismatch in argument; conversion
> supplied
>tab-complete.c
>mbprint.c
>        link.exe @C:\DOCUME~1\header\LOCALS~1\Temp\nme02748.
>command.obj : error LNK2001: unresolved external symbol _simple_prompt
>startup.obj : error LNK2001: unresolved external symbol _simple_prompt
>.\Release\psql.exe : fatal error LNK1120: 1 unresolved externals
>NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
>Stop.
>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
>MAKE.EXE"' : return code '0x2'
>
>I don't know, where is problem... thanx, Miso
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 9: the planner will ignore your desire to choose an index scan if your
>      joining column's datatypes do not match
>
>
>

--
Sincerely,
Reshat.

-------------------------------------------------------------------------------------------
If you see my certificate with this message, you should be able to send me encrypted e-mail.
Please consult your e-mail client for details if you would like to do that.


Attachment