Hello, Is it possible to compile and run dbmail with cygwin and postgresql?
At the moment i get the following compiler-error: $ ./build.sh This is the dbmail build script I will have to ask you some questions about your system What database do you wish to use? Choices are (m)ysql and (p)ostgresql > p You have selected PostgreSQL as database The library directory for PostgreSQL is now [/usr/local/pgsql/lib/]. Enter new directory or press RETURN to keep this setting: /usr/lib/postgresql The include directory for PostgreSQL is now [/usr/local/pgsql/include/]. Enter new directory or press RETURN to keep this setting: /usr/include/postgresql The libraries are currently set to [-lpq -lcrypto -lssl]. Enter new libraries (preceed each by -l) or press RETURN to keep this setting: Creating makefile.. [EMAIL PROTECTED] ~/dbmail-1.1 $ make cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o list.o list.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o debug.o debug.c debug.c: In function `trace': debug.c:70: warning: implicit declaration of function `vsyslog' cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o pipe.o pipe.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o mime.o mime.c cc -o pgsql/dbpgsql.o -c pgsql/dbpgsql.c -L/usr/lib/postgresql -I/usr/include/po stgresql cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o dbmd5.o dbmd5.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o md5.o md5.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o bounce.o bounce.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o forward.o forward.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o memblock.o memblock.c cc -o pgsql/dbauthpgsql.o -c pgsql/dbauthpgsql.c -L/usr/lib/postgresql -I/usr/in clude/postgresql cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o config.o config.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE main.c -o dbmail-smtp list.o debu g.o pipe.o mime.o pgsql/dbpgsql.o dbmd5.o md5.o bounce.o forward.o memblock.o pg sql/dbauthpgsql.o config.o -L/usr/lib/postgresql -I/usr/include/postgresql -lpq -lcrypto -lssl debug.o(.text+0x143):debug.c: undefined reference to `_vsyslog' pgsql/dbauthpgsql.o(.text+0x2586):dbauthpgsql.c: undefined reference to `_crypt' collect2: ld returned 1 exit status make: *** [smtp] Error 1 Thanks for your help, Atlan