Re: compiling balsa



On Tue, Sep 24, 2002 at 09:58:34AM +0200, Pawel Salek wrote:
> On 2002.09.23 19:39 ronald j roy wrote:
> > Hello,
> >  I have been using Mutt 1.2.5.1i and Balsa 1.2.4 for some time. Now I
> > would like to try Balsa 1.4.1, but make errors out. It does configure
> > with no problems. Here's the info below:
> > 
> >  -ldl -lXi -lXext -lX11 -lm -lssl -lcrypto -Wl,--rpath
> > -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> > ../libmutt/libmutt.a(copy.o): In function `_mutt_copy_message':
> > /home/jr/tmp/balsa-1.4.1/libmutt/copy.c:545: undefined reference to
> > `assert'
> 
> This is actually very strange because libmutt/copy.c includes 
> explicitely assert.h. assert() is a macro in my version of assert.h
> 
> Can you post on the list the line that compiles libmutt/copy.c (cd 
> libmutt && rm copy.o && make copy.o should do)

make copy.o
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\"
-DLIBMUTT -I. -I./imap  -Idefault/include -I./intl  -g -O2 -c copy.c

> and possibly check the 
> output of the preprocessor (the printed line with -E option added to 
> gcc will produce it) whether assert.h is really included. (i you need 
> some help with it just ask).

After running gcc with the -E option I found a second copy of assert.h
in /usr/local/include:
-rw-r--r--    1 root     root         1195 Jul 18 01:07 assert.h
/usr/include:
-rw-r--r--    1 root     root         3556 Apr  6  2001 assert.h

thanks
> 
> Pawel
> _______________________________________________
> balsa-list mailing list
> balsa-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/balsa-list



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