bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building on Mac OS X (was Re: a quick mailutils question)


From: Sam Roberts
Subject: Re: Building on Mac OS X (was Re: a quick mailutils question)
Date: Mon, 29 Apr 2002 22:30:08 -0400
User-agent: Mutt/1.3.16i

Quoteing address@hidden, on Mon, Apr 29, 2002 at 09:53:08AM -0700:
> > Then see what breaks next...
> 
> Well frm.c produced a frm so I am quite happy ;-), but 
> in order to finish this here is the error I get:
> 
> Making all in comsat
> source='action.c' object='action.o' libtool=no \
> depfile='.deps/action.Po' tmpdepfile='.deps/action.TPo' \
> depmode=gcc /bin/sh ../depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I../include
> -DSYSCONFDIR=\"/usr/local/etc\"  -g -O2 -c `test -f comsat.c || echo
> './'`comsat.c
> comsat.c: In function `find_user':
> comsat.c:513: warning: assignment makes pointer from integer without a
> cast

It looks like you don't have the utmp database. Can you find
these 3 functions (getutent, setutent, endutent) in any header
under /usr/include or /usr/include/sys?

Also, you could do a "make -k", which will keep going past the
first errors as far as it can, maybe we can fix multiple things
at once that way.

Sergey, any suggestions on this? Maybe the whole function can
be commented out based on availability of getutent()?

> cc -g -O2 -o .libs/comsatd action.o cfg.o comsat.o  -L../mailbox/.libs
> -lmailbox ../lib/.libs/libmailutils.al -lpthread
> /usr/bin/ld: Undefined symbols:
> _endutent
> _getutent
> _setutent
> /usr/bin/ld: warning unused multiple definitions of symbol _daemon
> ../lib/.libs/libmailutils.al(daemon.lo) definition of _daemon in section
> (__TEXT,__text)
> /usr/lib/libpthread.dylib(daemon.o) unused definition of _daemon
> /usr/bin/ld: warning unused multiple definitions of symbol _optarg
> ../lib/.libs/libmailutils.al(getopt.lo) definition of _optarg in section
> (__DATA,__common)
> /usr/lib/libpthread.dylib(getopt.o) unused definition of _optarg
> /usr/bin/ld: warning unused multiple definitions of symbol _opterr
> ../lib/.libs/libmailutils.al(getopt.lo) definition of _opterr in section
> (__DATA,__data)
> /usr/lib/libpthread.dylib(getopt.o) unused definition of _opterr
> /usr/bin/ld: warning unused multiple definitions of symbol _optind
> ../lib/.libs/libmailutils.al(getopt.lo) definition of _optind in section
> (__DATA,__data)
> /usr/lib/libpthread.dylib(getopt.o) unused definition of _optind
> /usr/bin/ld: warning unused multiple definitions of symbol _optopt
> ../lib/.libs/libmailutils.al(getopt.lo) definition of _optopt in section
> (__DATA,__data)
> /usr/lib/libpthread.dylib(getopt.o) unused definition of _optopt
> /usr/bin/ld: warning unused multiple definitions of symbol _getopt
> ../lib/.libs/libmailutils.al(getopt.lo) definition of _getopt in section
> (__TEXT,__text)
> /usr/lib/libpthread.dylib(getopt.o) unused definition of _getopt
> make[2]: *** [comsatd] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> Let me know if you need more details!
> 
> Thanks,
> 
> Shane

-- 
Sam Roberts <address@hidden> (Vivez sans temps mort!)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]