Chate
11-12-2000, 11:06 PM
I'm tryign to compile gtk-- 1.2.3 on a Red Hat 7 install. The configure script completes with no errors but when I try to make it I get the following error:
Making all in gtkmmproc
make[3]: Entering directory `/home/chate/development/gtkmm-1.2.3/src/gtkmmproc'
c++ -DHAVE_CONFIG_H -T. -T. -I../.. -I../.. -I../.. -D MACRO_DIR=\"/usr/local/lib/gtkmm/proc\" -D M4=\"m4\" -c parser.cc
parser.yy:24: declaration of C function `char *getenv ()' conflicts with /usr/include/stdlib.h:588: previous declaration `char *getenv (const char *)' here
make[3]: *** [parser.o] Error 1
I've been able to compile other packages but they were C not C++ so I'm assuming I have something wrong with my g++ setup. I'm new to Linux and I'm going nuts trying to figure this out. Any help would be greatly appreciated.
Making all in gtkmmproc
make[3]: Entering directory `/home/chate/development/gtkmm-1.2.3/src/gtkmmproc'
c++ -DHAVE_CONFIG_H -T. -T. -I../.. -I../.. -I../.. -D MACRO_DIR=\"/usr/local/lib/gtkmm/proc\" -D M4=\"m4\" -c parser.cc
parser.yy:24: declaration of C function `char *getenv ()' conflicts with /usr/include/stdlib.h:588: previous declaration `char *getenv (const char *)' here
make[3]: *** [parser.o] Error 1
I've been able to compile other packages but they were C not C++ so I'm assuming I have something wrong with my g++ setup. I'm new to Linux and I'm going nuts trying to figure this out. Any help would be greatly appreciated.