problem with MyBackendId
От | Andreas 'ads' Scherbaum |
---|---|
Тема | problem with MyBackendId |
Дата | |
Msg-id | 20050803000834.1c535bba.adsmail@wars-nicht.de обсуждение исходный текст |
Ответы |
Re: problem with MyBackendId
|
Список | pgsql-hackers-win32 |
Hello, i successfully installed PostgreSQL 8.0.3 and MingW on a windows xp box and tried to compile a module of mine. Thats the error i got back: $ make sed 's,MODULE_PATHNAME,$libdir/tablelog,g' tablelog.sql.in >tablelog.sql gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wold-style-definition -Wendif-labels -fno-strict-aliasing -I. -I../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../src/include/port/win32" -c -o tablelog.o tablelog.c gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wold-style-definition -Wendif-labels -fno-strict-aliasing -I. -I../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../src/include/port/win32" -c -o tablelog_restore.o tablelog_restore.c dlltool --export-all --output-def tablelog.def tablelog.o tablelog_restore.o dllwrap -o libtablelog.dll --dllname libtablelog.dll --def tablelog.def tablelog.o tablelog_restore.o -L../../src/port-L../../src/backend -lpostgres Info: resolving _MyBackendId by linking to __imp__MyBackendId (auto-import) fu000001.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname' nmth000000.o(.idata$4+0x0): undefined reference to `_nm__MyBackendId' collect2: ld returned 1 exit status c:\mingw\bin\dllwrap.exe: c:\mingw\bin\gcc exited with status 1 make: *** [libtablelog.a] Error 1 He seems to be able to resolv MyBackendId, but thats all. Has anybody an idea what is missing or wrong? Thanks in advance. Kind regards -- Andreas 'ads' Scherbaum Failure is not an option. It comes bundled with your Microsoft product. (Ferenc Mantfeld)
В списке pgsql-hackers-win32 по дате отправления: