LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-26-2006, 01:55 AM   #1
zakariya
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
GTK+-2.8.17 Compilation problem:undefined reference to `g_intern_static_string'


hi respected all,
i got following make errors in gtk+-2.8.17.
there is no problem in configure.

/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -L/home/zakariya/trend/lib -o gtk-query-immodules-2.0 queryimmodules.o libgtk-x11-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la
gcc -g -O2 -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o -L/home/zakariya/trend/lib ./.libs/libgtk-x11-2.0.so /home/zakariya/PACKAGES/zakariya/gtk+-2.8.17/gdk/.libs/libgdk-x11-2.0.so -L/home/zakariya/trend/X11R6/lib /home/zakariya/trend/lib/libatk-1.0.so -L/usr//lib /usr//lib/libgobject-2.0.so /usr//lib/libgmodule-2.0.so /usr//lib/libglib-2.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so -lXrandr -lXinerama -lXext /home/zakariya/trend/lib/libpangocairo-1.0.so /home/zakariya/trend/lib/libpango-1.0.so /home/zakariya/trend/lib/libcairo.so -lXrender -lX11 /home/zakariya/trend/lib/libfontconfig.so /home/zakariya/trend/lib/libfreetype.so -lz /usr/lib/libexpat.so /home/zakariya/PACKAGES/zakariya/gtk+-2.8.17/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /home/zakariya/trend/lib/libgmodule-2.0.so -ldl /home/zakariya/trend/lib/libgobject-2.0.so /home/zakariya/trend/lib/libglib-2.0.so -lm -Wl,--rpath -Wl,/usr//lib
./.libs/libgtk-x11-2.0.so: undefined reference to `g_intern_static_string'
/home/zakariya/trend/lib/libpango-1.0.so: undefined reference to `g_slice_free_chain_with_offset'
/home/zakariya/trend/lib/libpangocairo-1.0.so: undefined reference to `g_slice_alloc'
/home/zakariya/trend/lib/libpango-1.0.so: undefined reference to `g_slice_alloc0'
/home/zakariya/trend/lib/libpangocairo-1.0.so: undefined reference to `g_slice_free1'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[4]: Leaving directory `/home/zakariya/PACKAGES/zakariya/gtk+-2.8.17/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/zakariya/PACKAGES/zakariya/gtk+-2.8.17/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/zakariya/PACKAGES/zakariya/gtk+-2.8.17/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zakariya/PACKAGES/zakariya/gtk+-2.8.17'
make: *** [all] Error 2

i need ur great help to fix this error.Please help me .i already compiled the following packages successfully.
glib 2.10.2
cairo 1.10.4
pango 1.12.2
freetype-2.1.10
fontconfig-2.3.95
given paths are: PKG_CONFIG_PATH=/home/zakariya/trend/lib/pkgconfig
LD_RUN_PATH=/home/zakariya/trend/lib
LDFLAGS=-L/home/zakariya/trend/lib
LD_LIBRARY_PATH=/home/zakariya/trend/lib
LDFLAGS=-L/home/zakariya/trend/lib
 
Old 06-26-2006, 09:46 AM   #2
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
You also need atk 1.10.3 before trying to compile gtk.
see http://www.gtk.org/download/
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem of undefined reference to `__ctype_b' nelnel Programming 3 08-01-2007 01:40 AM
Undefined Reference Linker Problem DWo Programming 1 03-11-2006 04:17 PM
GTK+ build, undefined reference error? headrift Linux - Software 2 09-15-2005 04:00 PM
2.6-test9 compile problem - undefined reference to `ide_hwifs' saint Linux - General 5 11-20-2003 04:53 PM
Yet another 'undefined reference' problem faulpelz2 Linux - Software 3 04-04-2003 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration