GNOME Bugzilla – Bug 365227
can't compile under solaris x86
Last modified: 2007-12-12 22:38:47 UTC
Steps to reproduce: 1. Install Solaris Express 10/06 x86 2. Download gcmd 1.2.1 and unpack to /tmp 3. Do ./configure 4. Do gmake gmake command fails with the output Stack trace: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 -D_REENTRANT -D_PTHREADS -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/sfw/include/freetype2 -I/usr/sfw/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I../../../cairo-1.0.2/src -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I../../../cairo-1.0.2/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT fileops.lo -MD -MP -MF .deps/fileops.Tpo -c fileops.c -fPIC -DPIC -o .libs/fileops.o fileops.c: In function `gv_file_load': fileops.c:226: error: `MAP_FILE' undeclared (first use in this function) fileops.c:226: error: (Each undeclared identifier is reported only once fileops.c:226: error: for each function it appears in.) gmake[3]: *** [fileops.lo] Error 1 gmake[3]: Leaving directory `/tmp/gnome-commander-1.2.1/src/libgviewer' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/tmp/gnome-commander-1.2.1/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/gnome-commander-1.2.1' gmake: *** [all] Error 2 Other information: gcc --version gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)
Created attachment 89745 [details] [review] Remove MAP_FILE option as it is obsolete. According to the mmap manpage on my Fedora Core 2 box, the MAP_FILE is just a compatability flag and is ignored.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.