LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-04-2008, 01:01 AM   #1
Varsha_vdd
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
Problem in linking GDOME library.


Hi,
I am trying to GDOME (gdome2-0.8.1)library functions in my C program.
I am facing problem while compiling the C program with the command as:

gcc -g -Wall `xml2-config --cflags --libs` `gdome-config --cflags --libs``gnome-config --cflags --libs gnome gnomeui xml` -o testGDOME testGDOME.c

It gives error message as follows:

/usr/local/bin/gdome-config: line 1: --libs: command not found
/usr/local/bin/gdome-config: line 1: --cflags: command not found

and undefined sysmbols to all GDOME variables and functions.

Am i missing something?
Can anybody provide me the exact command to link this library to my program?

Thanks
-Varsha
 
Old 06-04-2008, 08:33 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
gdome-config is deprecated, please use pkg-config instead
 
Old 06-05-2008, 08:48 AM   #3
Varsha_vdd
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Agrouf
 
  


Reply

Tags
library, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Library Linking problem IronBeagle Linux - Software 3 02-14-2006 12:10 PM
Commandline legth problem linking a shared library DavePrince Linux - Software 0 07-20-2005 08:19 AM
Still library linking problem The_Nerd Programming 19 05-20-2004 04:08 PM
Library linking problem The_Nerd Programming 10 04-26-2004 11:07 PM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration