Wer zur Hoelle ist aurel32? Auf meinem System ist der glaube ich nicht.
make gcc -std=gnu99 -Wall -g -c g2.c -o g2.o gcc -std=gnu99 -Wall -g -c smtp.c -o smtp.o gcc -std=gnu99 -Wall -g -c debug.c -o debug.o gcc -g g2.o smtp.o debug.o -o g2 gcc -std=gnu99 -Wall -g -c dbi_pq.c -o dbi_pq.o gcc -std=gnu99 -Wall -g -c dbi.c -o dbi.o dbi.c: In function ‘dbi_connect’: dbi.c:19: warning: implicit declaration of function ‘connect_pg’ dbi.c:19: warning: assignment makes pointer from integer without a cast dbi.c: In function ‘dbi_disconnect’: dbi.c:27: warning: implicit declaration of function ‘disconnect_pg’ gcc -g dbi_pq.o -o dbi_pq /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/crt1.o: In function `_start': /home/aurel32/tmp/eglibc/eglibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main' dbi_pq.o: In function `connect_pg': /home/btwotch/svn/g2/server/dbi_pq.c:15: undefined reference to `debug_status_message' /home/btwotch/svn/g2/server/dbi_pq.c:16: undefined reference to `PQconnectdb' /home/btwotch/svn/g2/server/dbi_pq.c:18: undefined reference to `PQstatus' /home/btwotch/svn/g2/server/dbi_pq.c:20: undefined reference to `debug_status_message_failed' /home/btwotch/svn/g2/server/dbi_pq.c:21: undefined reference to `PQerrorMessage' /home/btwotch/svn/g2/server/dbi_pq.c:21: undefined reference to `debug_printf' /home/btwotch/svn/g2/server/dbi_pq.c:25: undefined reference to `debug_status_message_ok' dbi_pq.o: In function `disconnect_pg': /home/btwotch/svn/g2/server/dbi_pq.c:34: undefined reference to `debug_status_message' /home/btwotch/svn/g2/server/dbi_pq.c:35: undefined reference to `PQfinish' /home/btwotch/svn/g2/server/dbi_pq.c:36: undefined reference to `debug_status_message_ok' dbi_pq.o: In function `init_pg': /home/btwotch/svn/g2/server/dbi_pq.c:44: undefined reference to `debug_status_message' /home/btwotch/svn/g2/server/dbi_pq.c:46: undefined reference to `PQexec' /home/btwotch/svn/g2/server/dbi_pq.c:49: undefined reference to `debug_status_message_failed' /home/btwotch/svn/g2/server/dbi_pq.c:50: undefined reference to `PQerrorMessage' /home/btwotch/svn/g2/server/dbi_pq.c:50: undefined reference to `debug_printf' /home/btwotch/svn/g2/server/dbi_pq.c:51: undefined reference to `PQclear' /home/btwotch/svn/g2/server/dbi_pq.c:55: undefined reference to `debug_status_message_ok' /home/btwotch/svn/g2/server/dbi_pq.c:58: undefined reference to `PQfname' /home/btwotch/svn/g2/server/dbi_pq.c:58: undefined reference to `debug_printf' /home/btwotch/svn/g2/server/dbi_pq.c:57: undefined reference to `PQnfields' /home/btwotch/svn/g2/server/dbi_pq.c:59: undefined reference to `debug_printf' /home/btwotch/svn/g2/server/dbi_pq.c:63: undefined reference to `PQgetvalue' /home/btwotch/svn/g2/server/dbi_pq.c:63: undefined reference to `debug_printf' /home/btwotch/svn/g2/server/dbi_pq.c:62: undefined reference to `PQnfields' /home/btwotch/svn/g2/server/dbi_pq.c:61: undefined reference to `PQntuples' /home/btwotch/svn/g2/server/dbi_pq.c:64: undefined reference to `debug_printf' /home/btwotch/svn/g2/server/dbi_pq.c:69: undefined reference to `PQclear' collect2: ld returned 1 exit status

