why my gtk frame buffer is not displaying hello world ?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
why my gtk frame buffer is not displaying hello world ?
hi ,,,,
I was trying to make a gtk+2.0.2 upon linux fb .Every thing went right and i compiled the hello world program in it with out any error or warning...
But then came the damn ...When I tried to run the programm ...I got this
This is the configuration file i got after the compilation and I used the sample hello world program available with the gtk/examples/helloworld ...I build it as root and tried to run it as root ..
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:882: checking for a BSD compatible install
configure:935: checking whether build environment is sane
configure:992: checking whether make sets ${MAKE}
configure:1031: checking for working aclocal
configure:1044: checking for working autoconf
configure:1057: checking for working automake
configure:1070: checking for working autoheader
configure:1083: checking for working makeinfo
configure:1105: checking for gcc
configure:1218: checking whether the C compiler (gcc -L/usr/local/lib) works
configure:1234: gcc -o conftest -I/usr/local/include/ -L/usr/local/lib conftest.c 1>&5
configure:1260: checking whether the C compiler (gcc -L/usr/local/lib) is a cross-compiler
configure:1265: checking whether we are using GNU C
configure:1293: checking whether gcc accepts -g
configure:1360: checking for Cygwin environment
configure:1393: checking for mingw32 environment
configure:1422: checking how to run the C preprocessor
configure:1554: checking host system type
configure:1575: checking build system type
configure:1604: checking for ld used by GCC
configure:1672: checking if the linker (/usr/bin/ld) is GNU ld
configure:1689: checking for /usr/bin/ld option to reload object files
configure:1701: checking for BSD-compatible nm
configure:1739: checking whether ln -s works
configure:1760: checking how to recognise dependant libraries
configure:1937: checking for object suffix
configure:1963: checking for executable suffix
configure:2004: checking command to parse /usr/bin/nm -B output
configure:2187: checking for dlfcn.h
configure:2365: checking for ranlib
configure:2432: checking for strip
configure:2947: checking for objdir
configure:2974: checking for gcc option to produce PIC
configure:3126: checking if gcc PIC flag -fPIC works
configure:3192: checking if gcc static flag -static works
configure:3234: checking if gcc supports -c -o file.o
configure:3282: checking if gcc supports -c -o file.lo
configure:3350: checking if gcc supports -fno-rtti -fno-exceptions
configure:3363: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include/ conftest.c 1>&5
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure:3390: checking whether the linker (/usr/bin/ld) supports shared libraries
configure:4075: checking how to hardcode library paths into programs
configure:4103: checking whether stripping libraries is possible
configure:4117: checking dynamic linker characteristics
configure:4518: checking if libtool supports shared libraries
configure:4522: checking whether to build shared libraries
configure:4545: checking whether to build static libraries
configure:5081: checking whether -lc should be explicitly linked in
configure:5693: checking whether to enable maintainer-specific portions of Makefiles
configure:5723: checking host system type
configure:5745: checking for some Win32 platform
configure:5767: checking for native Win32
configure:5966: checking whether build environment is sane
configure:6007: checking for strerror in -lcposix
configure:6052: checking for gcc option to accept ANSI C
configure:6140: checking for a BSD compatible install
configure:6193: checking whether make sets ${MAKE}
configure:6262: checking for pkg-config
configure:6306: checking for glib-2.0 >= 2.0.1 atk >= 1.0.1 pango >= 1.0.1
configure:6313: checking BASE_DEPENDENCIES_CFLAGS
configure:6318: checking BASE_DEPENDENCIES_LIBS
configure:6366: checking Whether to write dependencies into .pc files
configure:6401: checking for perl5
configure:6435: checking for indent
configure:6473: checking for lstat
configure:6473: checking for mkstemp
configure:6528: checking for sigsetjmp
configure:6540: gcc -o conftest -g -O2 -Wall -I/usr/local/include/ -L/usr/local/lib conftest.c 1>&5
configure:6559: checking whether make is GNU Make
configure:6579: checking for ranlib
configure:6607: checking for ANSI C header files
configure:6711: checking for working const
configure:6786: checking for inline
configure:6826: checking for off_t
configure:6859: checking for size_t
configure:6894: checking for working alloca.h
configure:6927: checking for alloca
configure:7129: checking for unistd.h
configure:7168: checking for getpagesize
configure:7221: checking for working mmap
configure:7397: checking for argz.h
configure:7397: checking for limits.h
configure:7397: checking for locale.h
configure:7397: checking for nl_types.h
configure:7397: checking for malloc.h
configure:7397: checking for string.h
configure:7397: checking for unistd.h
configure:7397: checking for sys/param.h
configure:7437: checking for getcwd
configure:7437: checking for munmap
configure:7437: checking for putenv
configure:7437: checking for setenv
configure:7437: checking for setlocale
configure:7437: checking for strchr
configure:7437: checking for strcasecmp
configure:7437: checking for strdup
configure:7437: checking for __argz_count
configure:7437: checking for __argz_stringify
configure:7437: checking for __argz_next
configure:7492: checking for LC_MESSAGES
configure:7537: checking for libintl.h
configure:7564: checking for dgettext in libc
configure:7694: checking for msgfmt
configure:7728: checking for dcgettext
configure:7783: checking for gmsgfmt
configure:7819: checking for xgettext
configure:7859: gcc -o conftest -g -O2 -Wall -I/usr/local/include/ -L/usr/local/lib conftest.c 1>&5
configure:7937: checking for catalogs to be installed
configure:8024: checking for extra flags to get ANSI library prototypes
configure:8038: gcc -o conftest -g -O2 -Wall -I/usr/local/include/ -L/usr/local/lib conftest.c -lm 1>&5
configure:8078: checking for the BeOS
configure:8090: checking for extra flags for POSIX compliance
configure:8099: gcc -c -g -O2 -Wall -I/usr/local/include/ conftest.c 1>&5
configure: In function `main':
configure:8095: warning: unused variable `dir'
configure:8165: checking for pkg-config
configure:8215: checking for GLIB - version >= 2.0.1
configure:8329: gcc -o conftest -g -O2 -Wall -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/ -L/usr/local/lib conftest.c -Wl,--export-dynamic -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lpthread -lglib-2.0 1>&5
configure:8418: checking for bind_textdomain_codeset
configure:8476: checking for pwd.h
configure:8519: checking for sys/time.h
configure:8562: checking for unistd.h
configure:8605: checking for winsock.h
configure:8769: checking for ANSI C header files
configure:8875: checking for working const
configure:8952: checking return type of signal handlers
configure:8996: checking for unistd.h
configure:9035: checking for getpagesize
configure:9088: checking for working mmap
configure:9262: checking for getresuid
configure:9315: checking for uid_t in sys/types.h
configure:9351: checking for fd_set
configure:9360: gcc -c -g -O2 -Wall -I/usr/local/include/ conftest.c 1>&5
configure: In function `main':
configure:9356: warning: unused variable `readMask'
configure:9356: warning: unused variable `writeMask'
configure:9402: checking for wchar.h
configure:9409: gcc -E -I/usr/local/include/ conftest.c >/dev/null 2>conftest.out
configure:9432: checking for wctype.h
configure:9439: gcc -E -I/usr/local/include/ conftest.c >/dev/null 2>conftest.out
configure:9463: checking for iswalnum
configure:9555: checking if iswalnum() and friends are properly defined
configure:9577: gcc -o conftest -g -O2 -Wall -I/usr/local/include/ -L/usr/local/lib conftest.c 1>&5
configure:9606: checking whether to build gmodulized gdk-pixbuf
configure:9628: checking whether dynamic modules work
configure:9680: checking for TIFFReadScanline in -ltiff
configure:9716: checking for tiffio.h
configure:9910: checking for jpeg_destroy_decompress in -ljpeg
configure:9953: checking for jpeglib.h
configure:9964: gcc -E -I/usr/local/include/ conftest.c >/dev/null 2>conftest.out
configure:9981: checking for jpeg_simple_progression in -ljpeg
configure:10039: checking for libpng12
configure:10180: checking pixbuf loaders to build
configure:10228: checking for sys/wait.h that is POSIX.1 compatible
configure:10271: checking return type of signal handlers
configure:10362: checking for x86 platform
configure:10378: checking compiler support for MMX
configure:10380: gcc -c -g -O2 -Wall -I/usr/local/include/ conftest.S 1>&5
configure:10439: checking for freetype-config
configure:10477: checking for FT_New_Face in -lfreetype
configure:10524: checking For sufficiently new FreeType (at least 2.0.1)
configure:10536: gcc -c -g -O2 -Wall -I/usr/local/include/ -I/usr/local/include -I/usr/local/include/freetype2 conftest.c 1>&5
configure:12297: checking Pango flags
configure:12318: checking for pango_context_new in -lpango-1.0
configure:12390: checking ATK flags
configure:12407: checking for atk_object_get_type in -latk-1.0
configure:12489: checking for gtkdoc-mkdb
configure:12536: checking for db2html
configure:12608: checking for sgml2html
i posted the question and I found the answer atlast ....
It was a problem for the 2.6 version of linux .I hacked the code and found that it is failing the opening of the /dev/psaux device and i gave a link to the /dev/input/mouse device using
ln -sf /dev/input/event0 /dev/psaux and it made the gtk linux fb for me .Thanks for the postings and views and discussions will be appreciated
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.