Re: [gtk-list] Re: Missing file in glademm-0.0.4



Preben Randhol wrote:
> thanks! I did run it to more problems now though :( (see below)
> c++ -DPACKAGE=\"glademm\" -DVERSION=\"0.0.4\" -DSTDC_HEADERS=1  -I. -I.    -g -O2 -c glade--.cc
> glade--.cc: In function `int main(int, char **)':
> glade--.cc:77: warning: implicit declaration of function `int mkdir(...)'
> glade--.cc:78: warning: implicit declaration of function `int perror(...)'
> c++ -DPACKAGE=\"glademm\" -DVERSION=\"0.0.4\" -DSTDC_HEADERS=1  -I. -I.    -g -O2 -c Cxx.cc
> Cxx.cc: In method `void Cxx::WriteCreation(class File &)':
> Cxx.cc:417: `struct utsname' has no member named `domainname'
> Cxx.cc:419: `struct utsname' has no member named `domainname'
> make[1]: *** [Cxx.o] Error 1
> make[1]: Leaving directory `/home/randhol/Trashcan/untgzed/glademm-0.0.4/src'
> make: *** [all-recursive] Error 

This is my problem on a debian 2.0 (freeze) system. Here I have two
option:
1. compile the above file by hand with -D_GNU_SOURCE option, like 
c++ -DPACKAGE=\"glademm\" -DVERSION=\"0.0.4\" -DSTDC_HEADERS=1  -I.
-I.    -g -O2 -c Cxx.cc
2. edit the file and change "domainname" in "__domainname". Look also
for a file "/usr/include/features.h" and for
"/usr/include/sys/utsname.h"

Ionut

PS: Anybody knows how to make ./configure see that I need the
-D_GNU_SOURCE and append this to the Makefile ?



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