I got it, the references to config.c (and the object file : config.o) are missing in the Makefile...
How can i change that automatically ? (I don't want to edit all the Makefile manually) -- Dusausoy Bruno Le mar 10/12/2002 à 14:21, Dusausoy Bruno a écrit : > Hi, i'm new to dbmail ... > > I've tried to compile it on debian/woody (i386) but it failed. It seems > I need some library, but i don't know which one. Can someone help me ? > > Here is the error message: > > main.o: in function `main': > /home/bdusauso/dbmail-1.0/main.c:63: undefined reference to `ReadConfig' > /home/bdusauso/dbmail-1.0/main.c:64: undefined reference to `ReadConfig' > /home/bdusauso/dbmail-1.0/main.c:65: undefined reference to > `SetTraceLevel' > /home/bdusauso/dbmail-1.0/main.c:66: undefined reference to > `GetDBParams' > pipe.o: in function `insert_messages': > /home/bdusauso/dbmail-1.0/pipe.c:432: undefined reference to > `GetConfigValue' > /home/bdusauso/dbmail-1.0/pipe.c:436: undefined reference to > `GetConfigValue' > pipe.o: in function `send_notification': > /home/bdusauso/dbmail-1.0/pipe.c:566: undefined reference to > `GetConfigValue' > pipe.o: in function `send_reply': > /home/bdusauso/dbmail-1.0/pipe.c:605: undefined reference to > `GetConfigValue' > bounce.o: in function `bounce': > /home/bdusauso/dbmail-1.0/bounce.c:30: undefined reference to > `GetConfigValue' > bounce.o:/home/bdusauso/dbmail-1.0/bounce.c:34: more undefined > references follows `GetConfigValue' > collect2: ld returned 1 exit status > make[1]: *** [dbmail-smtp] Error 1 > make[1]: Leaving directory `/home/bdusauso/dbmail-1.0' > make: *** [all-recursive] Error 1 > > > > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >