Hi,

I am working on directfb 1.0.0 version. I have installed it. When i try to 
compile my sample code(sample.c). I am getting the following errors.

I have used the following command to compile,

   gcc -I /usr/local/include/directfb sample.c

I am getting the following errors,

sample.c: In function ‘main’:
sample.c:20: warning: incompatible implicit declaration of built-in function 
‘memset’
/tmp/ccAZzctK.o: In function `main':
sample.c:(.text+0x1d): undefined reference to `DirectFBInit'
sample.c:(.text+0x29): undefined reference to `DirectFBCreate'
collect2: ld returned 1 exit status

Can u please help me out in this regard as soon as possible.

Thanks and Regards,
Santosh Kumar G.k

This message (including any attachment) is confidential and may be legally 
privileged.  Access to this message by anyone other than the intended 
recipient(s) listed above is unauthorized.  If you are not the intended 
recipient you are hereby notified that any disclosure, copying, or distribution 
of the message, or any action taken or omission of action by you in reliance 
upon it, is prohibited and may be unlawful.  Please immediately notify the 
sender by reply e-mail and permanently delete all copies of the message if you 
have received this message in error.
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to