Re: Problem including a libraray...

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

 



On 5/3/07, Mad <magnusdreyer@xxxxxxxxxxx> wrote:

trying to compile on a linux with library installed in the following
directory /home/lala/mxml-2.3/

LDFLAGS=-lpthread -lrt -static -mxml -B /home/smartpit/mxml-2.3/

How about:

LDFLAGS=-static -lpthread -lrt -L /home/lala/mxml-2.3/ -mxml

I.e. you said the installation directory was /home/lala/mxml-2.3/, so
why did you use
/home/smartpit/mxml-2.3/ in LDFLAGS? And use -L, not -B. And use it
before -mxml.
And (but I don't know what the library is) maybe it should be -lmxml
or something (note the
'l' in the prefix).

[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