Re: Problem including a libraray...

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

 



Mad wrote:

> CFLAGS=-c -Wall -B /home/smartpit/mxml-2.3/
> LDFLAGS=-lpthread -lrt -static -mxml -B /home/smartpit/mxml-2.3/

Can I suggest reading the docs instead of trying random stuff?  First,
you want -L not -B when specifying linker directories to search. 
Second, there is no space between -L and the directory.  Third, the -L
has to come before the -lmxl in the order, otherwise the linker won't
know where to look.  And fourth, get rid of -static.  That is only going
to make your life harder.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux