Re: [Nemiver-list] SVN head doesn't compile



Hello,

Erik de Castro Lopo a écrit :

[...]

/bin/bash ../../libtool --tag=CC --mode=link i486-linux-gnu-gcc -Wall -g -O2 -Wl,-z,defs -o libgdbmod.la -rpath /usr/lib/nemiver/modules -module -avoid-version -Wl,--as-needed libdbgcommon.la libgdbmiparser.la libgdbengine.la -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -pthread -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0 -lgtop-2.0 -lglib-2.0 ../../src/langs/libnemivercparser.la ../../src/common/libnemivercommon.la

Why does libtool on your system calls the linker with the -Wl,-z,defs option ? That option tells the linker to not accept binaries with undefined symbols. I guess that's at least one of the reasons why you are failing to link the libgdbmod module.

I don't know why the libtool on your system is doing that, but if you can instruct it to link without that option, you'll have made some progress.

For the record, nemiver SVN compiles and links fine on several systems here.

Thanks for reporting this.

Cheers,

Dodji.




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