LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-10-2004, 12:07 PM   #1
zmieff
Member
 
Registered: Feb 2004
Location: Austria
Distribution: NetBSD 2.0, DragonFlyBSD 1.0
Posts: 66

Rep: Reputation: 15
glibmm problem


hi

i'm trying to compile glibmm.

when i type in "make", I get some errors:

Code:
 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -Dglibmm_COMPILATION -DG_DISABLE_DEPRECATED -I../../glib -I../../glib -I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT spawn.lo -MD -MP -MF .deps/spawn.Tpo -c spawn.cc  -fPIC -DPIC -o .libs/spawn.o
In file included from spawn.cc:3:
../../glib/glibmm/spawn.h:39: syntax error before `;' token
../../glib/glibmm/spawn.h:144: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:144: syntax error before `*' token
../../glib/glibmm/spawn.h:153: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:153: syntax error before `*' token
../../glib/glibmm/spawn.h:163: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:163: syntax error before `*' token
../../glib/glibmm/spawn.h:169: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:169: syntax error before `*' token
../../glib/glibmm/spawn.h:195: `Pid' was not declared in this scope
../../glib/glibmm/spawn.h:195: syntax error before `)' token
spawn.cc:74: type specifier omitted for parameter `Pid'
spawn.cc:74: syntax error before `*' token
spawn.cc: In function `void Glib::spawn_async_with_pipes(...)':
spawn.cc:79: `child_setup' undeclared (first use this function)
spawn.cc:79: (Each undeclared identifier is reported only once for each
   function it appears in.)
spawn.cc:84: `working_directory' undeclared (first use this function)
spawn.cc:85: `argv' undeclared (first use this function)
spawn.cc:86: `envp' undeclared (first use this function)
spawn.cc:87: `flags' undeclared (first use this function)
spawn.cc:90: `child_pid' undeclared (first use this function)
spawn.cc:91: `standard_input' undeclared (first use this function)
spawn.cc:91: `standard_output' undeclared (first use this function)
spawn.cc:91: `standard_error' undeclared (first use this function)
spawn.cc: At global scope:
spawn.cc:102: type specifier omitted for parameter `Pid'
spawn.cc:102: syntax error before `*' token
spawn.cc: In function `void Glib::spawn_async_with_pipes(...)':
spawn.cc:106: redefinition of `void Glib::spawn_async_with_pipes(...)'
spawn.cc:78: `void Glib::spawn_async_with_pipes(...)' previously defined here
spawn.cc:106: redefinition of `void Glib::spawn_async_with_pipes(...)'
spawn.cc:78: `void Glib::spawn_async_with_pipes(...)' previously defined here
spawn.cc: At global scope:
spawn.cc:130: type specifier omitted for parameter `Pid'
spawn.cc:130: syntax error before `*' token
spawn.cc:154: type specifier omitted for parameter `Pid'
spawn.cc:154: syntax error before `*' token
spawn.cc: In function `void Glib::spawn_async(...)':
spawn.cc:155: redefinition of `void Glib::spawn_async(...)'
spawn.cc:131: `void Glib::spawn_async(...)' previously defined here
spawn.cc:155: redefinition of `void Glib::spawn_async(...)'
spawn.cc:131: `void Glib::spawn_async(...)' previously defined here
spawn.cc: At global scope:
spawn.cc:273: `Pid' was not declared in this scope
spawn.cc:273: syntax error before `)' token
spawn.cc: In function `void Glib::spawn_close_pid(...)':
spawn.cc:275: `pid' undeclared (first use this function)
spawn.cc:275: `g_spawn_close_pid' undeclared (first use this function)
make[5]: *** [spawn.lo] Error 1
make[5]: Leaving directory `/home/zmieff2/progs/gtkmm/glibmm-2.4.1/glib/glibmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/zmieff2/progs/gtkmm/glibmm-2.4.1/glib/glibmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/zmieff2/progs/gtkmm/glibmm-2.4.1/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/zmieff2/progs/gtkmm/glibmm-2.4.1/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zmieff2/progs/gtkmm/glibmm-2.4.1'
make: *** [all] Error 2
what is wrong??

thanks
 
Old 05-10-2004, 02:01 PM   #2
calble
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY or Evansville, IN
Distribution: Fedora Core 3
Posts: 29

Rep: Reputation: 15
The problem is that the compiler can not find the library you are using in your program. That is what all the undeclared errors are. for more help compiling programs using gtkmm go to http://http://www.gtkmm.org/docs/gtk...html#id2428682
 
  


Reply


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
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
glibmm-2.4.0 paul62 Linux - Software 0 10-03-2004 11:22 PM
Got a problem compiling glibmm-2.4.0 Adan Linux - Software 2 09-02-2004 06:13 AM
problem installing glibmm-2.4.0 PierrePau Linux - Software 0 06-02-2004 05:41 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 AM.

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