|Site sponsored by IGEL|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[directfb-dev] Undefined references
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' When I compile core I always get: fbdev.c: In function `waitretrace': fbdev.c:60: warning: implicit declaration of function `inb' fbdev.c: In function `primaryFlipBuffers': fbdev.c:640: warning: implicit declaration of function `iopl' I am compiling for powerpc-linux with kernel 2.4.2. Can anyone tell me how to fix this? Thanks. -- Info: To unsubscribe send a mail to email@example.com with "unsubscribe directfb-dev" as subject.