Aaron, please don't use the my_ namespace. I've only recently switched over all the my_malloc, my_strdup, etc
calls over to use dm_ instead. my_ is bound to conflict with the mysql space.
[EMAIL PROTECTED] wrote:
A BUGNOTE has been added to this bug.
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000165
======================================================================
Reported By: va1210
Assigned To:
======================================================================
Project: DBMail
Bug ID: 165
Category: installation scripts
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 19-Jan-05 22:18 CET
Last Modified: 19-Jan-05 22:21 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.
Bug History
Date Modified Username Field Change
======================================================================
19-Jan-05 22:18va1210 New Bug
19-Jan-05 22:21aaron Bugnote Added: 0000558
======================================================================
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev
--
________________________________________________________________
Paul Stevens mailto:[EMAIL PROTECTED]
NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
The Netherlands________________________________http://www.nfg.nl