LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error While Building nspluginwrapper 1.4.4 (https://www.linuxquestions.org/questions/linux-software-2/error-while-building-nspluginwrapper-1-4-4-a-4175520261/)

Th3_DarkSky 09-27-2014 03:54 AM

Error While Building nspluginwrapper 1.4.4
 
Hello Everyone, i was installing nspluginwrapper on my new built (B)LFS 7.5, but something went wrong when i issue "make" :

Code:

/usr/bin/ld: npviewer-npw-viewer.o: undefined reference to symbol 'g_thread_init'
/usr/lib/libgthread-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:304: recipe for target 'npviewer.bin' failed
make: *** [npviewer.bin] Error 1

can you tell me what's going on to my build ? :(

anw, thanks before :)

gengisdave 09-27-2014 05:26 AM

you're missing the "-lgthread" linker flag, add it to the configure with LDFLAGS="-lgthread" ./configure ...

Th3_DarkSky 10-02-2014 04:45 AM

Quote:

Originally Posted by gengisdave (Post 5245203)
you're missing the "-lgthread" linker flag, add it to the configure with LDFLAGS="-lgthread" ./configure ...

Thanks bro, FIXED :D

anw, that's no "-lgthread" but "-lgthread-2.0"


All times are GMT -5. The time now is 02:51 AM.