This is a discussion on Re: Compile error within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Dear all, I tried to play arround with Makefile and change : MYSQL_INCLUDE=-I/usr/local/mysql/include MYSQL_LIBS=-L/usr/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Dear all,
I tried to play arround with Makefile and change : MYSQL_INCLUDE=-I/usr/local/mysql/include MYSQL_LIBS=-L/usr/local/mysql/lib/libmysqlclient.a -lm -lz The result is : # make ../load qmail-getpw case.a substdio.a error.a str.a fs.a mysql.o auto_break.o auto_usera.o stralloc.a alloc.a auto_qmail.o auto_uids.o -L/usr/local/mysql/lib/libmysqlclient.a -lm -lz mysql.o: In function `Mysql_Reconnect': mysql.o(.text+0x4cc): undefined reference to `mysql_init' mysql.o(.text+0x4f8): undefined reference to `mysql_real_connect' mysql.o(.text+0x53c): undefined reference to `mysql_select_db' mysql.o: In function `My_Mysql_Close': mysql.o(.text+0x586): undefined reference to `mysql_close' mysql.o: In function `Check_User_Mysql': mysql.o(.text+0x6ef): undefined reference to `mysql_query' mysql.o(.text+0x708): undefined reference to `mysql_store_result' mysql.o(.text+0x721): undefined reference to `mysql_num_rows' mysql.o(.text+0x73d): undefined reference to `mysql_fetch_row' mysql.o(.text+0x891): undefined reference to `mysql_free_result' mysql.o(.text+0x8ae): undefined reference to `mysql_free_result' mysql.o: In function `Get_locals_from_mysql': mysql.o(.text+0x997): undefined reference to `mysql_query' mysql.o(.text+0x9ac): undefined reference to `mysql_store_result' mysql.o(.text+0x9cd): undefined reference to `mysql_num_rows' mysql.o(.text+0xa08): undefined reference to `mysql_fetch_row' *** Error code 1 Stop in /usr/local/src/qmail. # Pls advice me what could be wrong. PD |
![]() |
| Thread Tools | |
| Display Modes | |
|
|