The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Return code for parallel running threads jitendriya.dash Shell Programming and Scripting 2 05-13-2009 12:57 PM
Exception Signal 11 while running JAVA code in UNIX satish2712 High Level Programming 0 08-11-2008 03:08 AM
Compile a code for running on boot d4n1l0d Filesystems, Disks and Memory 2 08-14-2006 03:44 PM
Perl running C code gdboling Shell Programming and Scripting 1 09-02-2003 07:43 PM
check my code?? running shell from c? abdul UNIX for Dummies Questions & Answers 1 09-03-2001 04:05 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-16-2009
Ravikishore Ravikishore is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 31
Exclamation Error while running the C code

Hi Sir,

I am running C program which include directfb.h header files.

root@lxdevenv:~/Desktop# vi n.c
root@lxdevenv:~/Desktop# gcc n.c -o n -I/usr/local/include/directfb -L/usr/local/lib -ldirectfb -lfusion -ldirect -lpthread -lm
n.c: In function ‘main’:
n.c:103: warning: passing argument 2 of ‘DirectFBInit’ from incompatible pointer type
root@lxdevenv:~/Desktop# ./n

~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2009 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2009-09-09 09:37)
(!) Direct/Util: opening '/dev/fb0' failed
--> No such device
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
--> Initialization error!
(!) [13937: 0.000] --> Caught signal 11 (at 0x34, invalid address) <--
Aborted
root@lxdevenv:~/Desktop#

---------- Post updated at 04:02 AM ---------- Previous update was at 03:58 AM ----------

Hi,

i got the error message like above ....
pls guide me ,,, im not getting what is the problem... any answer will appreciated,,,,,
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0