Hi,
did you run build.sh first? The undefined references the linker is
reporting are actually calls to functions included in the dbmail
package; if you run build.sh a valid makefile wil be made.
regards roel
Dusausoy Bruno heeft op dinsdag, 10 dec 2002 om 14:21
(Europe/Amsterdam) het volgende geschreven:
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