Yes, you do miss libraries.
I still strongly suggest to use the supplied 'configure' method.
As a reference, this is my output:
first compiling:
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT
-I/opt/local/include/directfb
-DEXAMPLESDATADIR=\"/opt/local/share/LiTE/examples\"
-DDIRECT_FORCE_DEBUG -Wall -O3 -pipe -g3 -fno-inline
-Werror-implicit-function-declaration -MT checktest.o -MD -MP -MF
.deps/checktest.Tpo -c -o checktest.o checktest.c
then linking:
gcc -Wall -O3 -pipe -g3 -fno-inline
-Werror-implicit-function-declaration -o .libs/lite_checktest
checktest.o -L/opt/local/lib ../leck/.libs/libleck.so
../lite/.libs/liblite.so /opt/local/lib/libdirectfb.so
/opt/local/lib/libfusion.so /opt/local/lib/libdirect.so -lpthread
-Wl,--rpath -Wl,/opt/local/lib
hth
Niels
Tu Duong Manh wrote:
Hi,
i just used a script, the content is this.
gcc -c -o $1.o $1.c -D_REENTRANT -I /export/scratch/opt/duonganh/LiTE-0.8.10/
-I /export/scratch/codes_fs/usr/local/include/directfb/ -D_GNU_SOURCE -Wall -O3
-pipe -Werror-implicit-function-declaration
gcc -D_REENTRANT -I /export/scratch/opt/duonganh/LiTE-0.8.10 -I
/export/scratch/codes_fs/usr/local/include/directfb -D_GNU_SOURCE -Wall -O3
-pipe -Werror-implicit-function-declaration -o $1 $1.o
-L/export/scratch/usr/lib -ldirectfb -lz -lfusion -ldirect -lpthread
I start it with ./cl.sh check
greetings from dresden : )
Hi.
yup, you miss libraries.
Your compiler is not including these flags.
This should not happen if you follow the 'configure' system.
Either use 'configure'
or please explain exactly how you try to compile.
The error messages here are not so interesting...
greets
Niels
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
--
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
LiTE mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/lite