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

Re: [E-devel] compiling embrace fails with LDFLAGS="-Wl,--as-needed"

On Saturday 13 May 2006 12:19, Momsen Reincke wrote:
> Compiling the CVS-version of embrace fails, if you pass "-Wl,--as-needed"
> to the linker (The error is obviously not due to the other optimizations
> used in the snippet at the bottom because it compiles fine with LDFLAGS=""
> as well as LDFLAGS="-Wl,-O1 -Wl,--sort-common").

if you're going to rice you need to figure out how to fix these issues 
yourself ... people generally dont want to hear about this

also, did you miss the big warning that said dont bug the e devs when using 
Gentoo ? :P

> i686-pc-linux-gnu-gcc -I./include -I/usr/include
> -I/usr/include/enlightenment -DUSE_E_CONFIG_H -I/usr/include -O2
> -march=athlon-tbird -fomit-frame-pointer -pipe -Wl,-O1 -Wl,--as-needed
> -Wl,--sort-common -o embrace main.o
> -Wl,--export-dynamic  -L/usr/lib -L/usr/X11R6/lib /usr/lib/libedb.so
> /usr/lib/libedje.so /usr/lib/libecore_config.so /usr/lib/libecore_ipc.so
> /usr/lib/libecore_con.so /usr/lib/libecore_file.so /usr/lib/libembryo.so
> ../src/lib/.libs/libembrace.a /usr/lib/libesmart_container.so
> /usr/lib/libesmart_draggies.so /usr/lib/libecore_evas.so
> /usr/lib/libesmart_trans_x11.so /usr/lib/libImlib2.so
> /usr/lib/libfreetype.so /usr/lib/libevas.so /usr/lib/libeet.so -lz
> /usr/lib/libjpeg.so
> /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libecore.so
> /usr/lib/libecore_x.so -lXcursor -lXrender -lXp -lXinerama -lXrandr -lXss
> -lX11 -lXext /usr/lib/libecore_txt.so /usr/lib/libecore_job.so -lm
> /usr/lib/libltdl.so -ldl
> ../src/lib/.libs/libembrace.a(embrace.o): In function `open_edb':

it's failing because libembrace.a is specified after libedb.so

should be fixed in cvs shortly

Attachment: pgp1cYzYYHwO2.pgp
Description: PGP signature