! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
libexo fails to build with sun studio pro 11
Status:
RESOLVED: FIXED
Severity:
critical

Comments

Description Leo Zhadanovsky 2007-03-20 18:22:06 CET
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: 

 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDATADIR=\"/usr/local/share\" -DEXO_COMPILATION -DG_LOG_DOMAIN=\"exo\" -DLIBEXECDIR=\"/usr/local/libexec\" -DLIBEXO_VERSION_API=\"0.3\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -DNDEBUG -DG_DISABLE_CAST_CHECKS -c exo-mount-point.c  -KPIC -DPIC -o .libs/libexo_0_3_la-exo-mount-point.o
"/usr/include/sys/mnttab.h", line 62: syntax error before or at: *
"/usr/include/sys/mnttab.h", line 63: syntax error before or at: *
"/usr/include/sys/mnttab.h", line 63: warning: undefined or missing type for: struct
"/usr/include/sys/mnttab.h", line 64: syntax error before or at: *
"/usr/include/sys/mnttab.h", line 64: warning: undefined or missing type for: struct
"/usr/include/sys/mnttab.h", line 64: warning: undefined or missing type for: size_t
"/usr/include/sys/mnttab.h", line 65: syntax error before or at: *
"/usr/include/sys/mnttab.h", line 65: warning: undefined or missing type for: struct
"/usr/include/sys/mnttab.h", line 65: warning: undefined or missing type for: struct
"../exo/exo-config.h", line 32: warning: syntax error:  empty declaration
"../exo/exo-config.h", line 94: warning: syntax error:  empty declaration
"../exo/exo-mount-point.h", line 30: warning: syntax error:  empty declaration
"../exo/exo-mount-point.h", line 131: warning: syntax error:  empty declaration
"/usr/local/include/gtk-2.0/gtk/gtktextbuffer.h", line 52: warning: enumerator value overflows INT_MAX (2147483647)
"/usr/local/include/gtk-2.0/gtk/gtktextbuffer.h", line 53: warning: enumerator value overflows INT_MAX (2147483647)
"/usr/local/include/gtk-2.0/gtk/gtktextbuffer.h", line 55: warning: enumerator value overflows INT_MAX (2147483647)
"../exo/exo-private.h", line 34: warning: syntax error:  empty declaration
"../exo/exo-private.h", line 104: warning: syntax error:  empty declaration
"../exo/exo-string.h", line 32: warning: syntax error:  empty declaration
"../exo/exo-string.h", line 55: warning: syntax error:  empty declaration
"exo-mount-point.c", line 230: warning: implicit function declaration: setmntent
"exo-mount-point.c", line 230: warning: improper pointer/integer combination: op "="
cc: acomp failed for exo-mount-point.c
*** Error code 1
make: Fatal error: Command failed for target `libexo_0_3_la-exo-mount-point.lo'
Current working directory /usr/local/src/rpm-packages/BUILD/exo-0.3.2/exo

Reproducible: Always
Comment 1 Leo Zhadanovsky 2007-03-20 18:29:44 CET
Also, this is on a Solaris 9 system
Comment 2 Moinak Ghosh 2007-05-12 17:18:55 CEST
Created attachment 1136 
Patch for exo-mount-point.c
Comment 3 Moinak Ghosh 2007-05-12 17:21:11 CEST
There are 2 problems while building libexo on OpenSolaris. One already reported in the original bug submission another one is a simple mistake. I have attached a suggested diff.
Comment 4 Benedikt Meurer editbugs 2007-05-20 14:15:19 CEST
Can you try with libexo from SVN trunk?
Comment 5 Nick Schermer editbugs 2009-08-20 08:48:03 CEST
Seems to be fixed, not response for a while.

Bug #3036

Reported by:
Leo Zhadanovsky
Reported on: 2007-03-20
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Attachments

Patch for exo-mount-point.c (529 bytes, text/x-patch)
2007-05-12 17:18 CEST , Moinak Ghosh
no flags

Additional information