The following bug has been RESOLVED. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000165 ====================================================================== Reported By: va1210 Assigned To: aaron ====================================================================== Project: DBMail Bug ID: 165 Category: installation scripts Reproducibility: always Severity: minor Priority: normal Status: resolved Resolution: fixed ====================================================================== Date Submitted: 19-Jan-05 22:18 CET Last Modified: 20-Jan-05 02:40 CET ====================================================================== Summary: Compiling source generates error with MySQL Description: When I try to compile the newest CVS of the stable 2.0-branch for MySQL, I get the following error:
calyx dbmail # make make all-recursive make[1]: Entering directory `/src/dbmail' Making all in mysql make[2]: Entering directory `/src/dbmail/mysql' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/src/dbmail/mysql' Making all in pgsql make[2]: Entering directory `/src/dbmail/pgsql' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/src/dbmail/pgsql' Making all in auth make[2]: Entering directory `/src/dbmail/auth' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/src/dbmail/auth' Making all in sort make[2]: Entering directory `/src/dbmail/sort' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/src/dbmail/sort' Making all in man make[2]: Entering directory `/src/dbmail/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/src/dbmail/man' make[2]: Entering directory `/src/dbmail' /bin/sh ./libtool --mode=link gcc -fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -o dbmail-smtp main.o libdbmail.la mysql/libmysqldbmail.la sort/libsortdbmail.la auth/libauthdbmail.la -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto gcc -fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -o .libs/dbmail-smtp main.o ./.libs/libdbmail.so mysql/.libs/libmysqldbmail.so sort/.libs/libsortdbmail.so auth/.libs/libauthdbmail.so -L/usr/lib/mysql /usr/lib/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib/dbmail -Wl,--rpath -Wl,/usr/lib/mysql main.o(.text+0x347): In function `main': /src/dbmail/main.c:321: undefined reference to `my_getopt' main.o(.text+0x388):/src/dbmail/main.c:203: undefined reference to `my_optarg' main.o(.text+0x526):/src/dbmail/main.c:270: undefined reference to `my_optarg' main.o(.text+0x57e):/src/dbmail/main.c:287: undefined reference to `my_optarg' main.o(.text+0x5e5):/src/dbmail/main.c:224: undefined reference to `my_optarg' main.o(.text+0x60a):/src/dbmail/main.c:233: undefined reference to `my_optarg' main.o(.text+0x66d):/src/dbmail/main.c:250: more undefined references to `my_optarg' follow collect2: ld returned 1 exit status make[2]: *** [dbmail-smtp] Error 1 make[2]: Leaving directory `/src/dbmail' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/src/dbmail' make: *** [all-recursive-am] Error 2 calyx dbmail # ====================================================================== ---------------------------------------------------------------------- aaron - 19-Jan-05 22:21 CET ---------------------------------------------------------------------- Oops, forgot to update Makefile.am after I added the getopt implementation. ---------------------------------------------------------------------- aaron - 20-Jan-05 02:40 CET ---------------------------------------------------------------------- Caught a checkout in the middle of me working the autotools! Bug History Date Modified Username Field Change ====================================================================== 19-Jan-05 22:18va1210 New Bug 19-Jan-05 22:21aaron Bugnote Added: 0000558 20-Jan-05 02:40aaron Bugnote Added: 0000560 20-Jan-05 02:40aaron Assigned To => aaron 20-Jan-05 02:40aaron Resolution open => fixed 20-Jan-05 02:40aaron Status new => resolved ======================================================================