RE: [Exim] Compile assistance

Top Page
Delete this message
Reply to this message
Author: Brian K. West
Date:  
To: Philip Hazel
CC: Pete Naylor, Exim-Users@Exim. Org
Subject: RE: [Exim] Compile assistance
Oh yea I figured it out after I sent the email.. and Now I get:

awk '{ print ($1+1) }' cnumber.h > cnumber.temp
/bin/rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc -c -O   version.c
/bin/rm -f exim
gcc -o exim  accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o
directory.o dns.o drtables.o exim.o expand.o filter.o globals.o  header.o
host.o log.o match.o moan.o os.o parse.o queue.o  readconf.o retry.o
rewrite.o  route.o search.o smtp_in.o smtp_out.o spool_in.o spool_out.o
store.o string.o tod.o transport.o tree.o verify.o  version.o \
  libident/libident.a pcre/libpcre.a directors/directors.a \
  routers/routers.a transports/transports.a lookups/lookups.a \
  auths/auths.a \
  -lsocket -lnsl -lkstat     \
   -lresolv -L /export/home/b/brian/mysql/lib -lmysqlclient
Undefined                       first referenced
 symbol                             in file
floor
/export/home/b/brian/mysql/lib/libmysqlclient.a(password.o)
ld: fatal: Symbol referencing errors. No output written to exim
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `exim'
Current working directory
/export/home/b/brian/exim-3.16/build-SunOS5-5.7-i386
*** Error code 1
make: Fatal error: Command failed for target `go'


Now where to go from here! I will dig around and see what I can find.

Thanks,
Brian


It is easier to fix Unix than to live with NT.

-----Original Message-----
From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
Sent: Monday, August 21, 2000 9:12 AM
To: Brian K. West
Cc: Pete Naylor; Exim-Users@Exim. Org
Subject: RE: [Exim] Compile assistance

On Mon, 21 Aug 2000, Brian K. West wrote:

> OK how can I specify the working libs in my home directory for it to link
> against? The installed libs are fubared and will not work.. but my libs in
> my home directory work perfect.


LOOKUP_LIBS=-L/home/you/mysql/lib -lmysqlclient

should work. Have you tried that?

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.