[gtkmm] glibmm 2.4.0 and 2.4.1 - compiling errors



I have just downloaded the sources for gtkmm 2.4 and have been trying to install them for about 3 hours now.

When i am at the "make" stage of glibmm 2.4.0 (glibmm 2.4.1 does the same thing) i get errors like this:

...
...
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: parse error before `*' token
../../glib/glibmm/spawn.h:153: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:153: parse error before `*' token
../../glib/glibmm/spawn.h:163: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:163: parse error before `*' token
../../glib/glibmm/spawn.h:169: type specifier omitted for parameter `Pid'
../../glib/glibmm/spawn.h:169: parse error before `*' token
../../glib/glibmm/spawn.h:195: `Pid' was not declared in this scope
../../glib/glibmm/spawn.h:195: parse error before `)' token
spawn.cc:74: type specifier omitted for parameter `Pid'
spawn.cc:74: parse 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)
...
...

the line 39 in file spawn.h is:

typedef GPid Pid;


Could that be that type GPid is not defined???

Did anyone else encoutered this problem?

Thanks.

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]