|Site sponsored by IGEL|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[directfb-dev] Re: Undefined references
Quoting Faralla (firstname.lastname@example.org): > Hi, > > I am still trying to cross-compile DirectFB 0.9.3. > After I had success with setting the right compiler and toosl (only strip > cannot be changed) and I had to change the library-paths in libtool there > seems to be the next big problem. > I always get undefined reference-messages and the compiler stops. > It looks like: > > powerpc-linux-gcc -fexpensive-optimizations -ffast-math -g -O3 -Wall -o > .libs/df_knuckles df_knuckles.o matrix.o > ../../src/.libs/libdirectfb.so -lpthread -lm -ldl > ../../src/.libs/libdirectfb.so: undefined reference to `inb' > ../../src/.libs/libdirectfb.so: undefined reference to `iopl' Obviously there is code that uses inb and iopl (e.g. vsync code), but that's not available on other platforms, the should be disabled by configure, but the sonfigure seems not to probe it the right way. Look after ifdef's in the code. -- Denis Oliver Kropp ( convergence ) ( integrated media gmbh ) -- Info: To unsubscribe send a mail to email@example.com with "unsubscribe directfb-dev" as subject.