Hi

'DFBCHEK" --> seems to be a typo  shouldn't it be "DFBCHECK" ?

"DirectFBCreat" --| there is a missing 'e'  DirectFBCreate

regards




On Sat, May 7, 2011 at 1:53 PM, xy ye <grub...@gmail.com> wrote:

> HI everybody ,now I have to work with directfb .I have cross-compile
> directfb for arm,but I don't know how to cross compile my directfb code.
> my directfb prefix is /usr/local/directfb
> I also
> export PKG_CONFIG_PATH=/usr/local/directfb/lib/pkgconfig/
>  export LD_LIBRARY_PATH=/usr/local/directfb/lib/
>
> and I use this command:
> arm-linux-gcc -o drawline drawline.c
> -I/usr/local/directfb/include/directfb/ -L/usr/local/directfb/lib -ldirectfb
> -lfusion -ldirect -lpthread -ldl -lz
>
> /tmp/ccOqOWOK.o: In function `main':
> drawline.c:(.text+0x30): undefined reference to `DFBCHEK'
> drawline.c:(.text+0x38): undefined reference to `DirectFBCreat'
> drawline.c:(.text+0x44): undefined reference to `DFBCHEK'
> drawline.c:(.text+0x74): undefined reference to `DFBCHEK'
> collect2: ld returned 1 exit status
>
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>


-- 
*
"If you ask a question - you will be a fool for 5 minutes, otherwise
ignorant for rest of your life"
*
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to