Re: Compile error

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/...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-07-2003
Paul Darius
 
Posts: n/a
Default Re: Compile error

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:44 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0