DirectFB - Home of the pragmatist Roadmap

[directfb-dev] Undefined references
Mailing List archive

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

[directfb-dev] Undefined references


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/ -lpthread -lm -ldl
../../src/.libs/ undefined reference to `inb'
../../src/.libs/ 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?


Info:  To unsubscribe send a mail to with 
"unsubscribe directfb-dev" as subject.

Home | Main Index | Thread Index / Development / Old Archives