[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling IceCat on gNewSense2.0
From: |
Yavor Doganov |
Subject: |
Re: Compiling IceCat on gNewSense2.0 |
Date: |
Wed, 21 May 2008 11:47:22 +0300 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) (gNewSense GNU/Linux) |
On Wed, May 21, 2008 at 01:57:17AM -0500, Luis A. Guzman Garcia wrote:
> c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
> -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread
> -pipe -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs
^^^^^^^^^^^
-Wl,-z,defs forces symbol resolution at build time; IOW, you get a build
failure if the code being compiled uses symbols from other libraries but
does not link with with them.
> -Wl,-h,libunixprintplugin.so -o libunixprintplugin.so npshell.o
> printplugin.o npunix.o -L../../../../dist/bin -lxpcom -lxpcom_core
> -L../../../../dist/bin -L../../../../dist/lib -lplds4 -lplc4 -lnspr4
> -lpthread -ldl -ldl -lm
Which is exactly the case here -- these symbols are from Xlib but the
objects linked together doesn't link against it. Could you please cd to
that directory, run `make clean' and post all of the output after
reruning make? By reading the makefile, it seems that everything should
be in order.
> > sudo apt-get build-dep libcupsys2-dev
> That way i shouldn't miss any.
No, that's unnecessary.
> What am i missing now?
It is not about something missing on your system. I'm trying to
reproduce it now on the fastest machine I have access to.
- Compiling IceCat on gNewSense2.0, Luis A. Guzman Garcia, 2008/05/21
- Re: Compiling IceCat on gNewSense2.0, Eric Padman, 2008/05/21
- Re: Compiling IceCat on gNewSense2.0, Yavor Doganov, 2008/05/21
- Re: Compiling IceCat on gNewSense2.0, Yavor Doganov, 2008/05/21
- Re: Compiling IceCat on gNewSense2.0, Luis A. Guzman Garcia, 2008/05/23
- Re: Compiling IceCat on gNewSense2.0, Yavor Doganov, 2008/05/23