After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 365227 - can't compile under solaris x86
can't compile under solaris x86
Status: RESOLVED FIXED
Product: gnome-commander
Classification: Other
Component: buildsystem
1.2.x
Other All
: Normal critical
: 1.2.5
Assigned To: epiotr
epiotr
Depends on:
Blocks:
 
 
Reported: 2006-10-26 09:31 UTC by Vano Beridze
Modified: 2007-12-12 22:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove MAP_FILE option as it is obsolete. (500 bytes, patch)
2007-06-11 13:04 UTC, Damien Carbery
none Details | Review

Description Vano Beridze 2006-10-26 09:31:09 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)
Comment 1 Damien Carbery 2007-06-11 13:04:45 UTC
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.
Comment 2 epiotr 2007-12-12 22:38:47 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.