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 133187 - Build fails in ORBit2/linc
Build fails in ORBit2/linc
Status: RESOLVED FIXED
Product: ORBit2
Classification: Deprecated
Component: general
2.9.x
Other HP-UX
: Normal blocker
: ---
Assigned To: ORBit maintainers
ORBit maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-02 07:52 UTC by Jonas Jonsson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Jonas Jonsson 2004-02-02 07:52:15 UTC
gmake[6]: Entering directory
`/alcesys/build/garnome-0.29.1/platform/ORBit2/work/main.d/ORBit2-2.9.2/linc2/src'
source='linc.c' object='linc.lo' libtool=yes \
depfile='.deps/linc.Plo' tmpdepfile='.deps/linc.TPlo' \
depmode=hp /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile /bin/cc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../linc2/include -I../../linc2/include -D_REENTRANT
-I/alcesys/build/gnome-2.6/include/glib-2.0
-I/alcesys/build/gnome-2.6/lib/glib-2.0/include     -DG_DISABLE_DEPRECATED
-D_GNU_SOURCE  -I/alcesys/build/gnome-2.6/include
-I/usr/contrib/X11R6/include -I/usr/include/X11R6 -I/usr/local/include
-I/usr/local/gnu/include  +DA2.0W -Ae -c -o linc.lo `test -f 'linc.c' ||
echo './'`linc.c
 /bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../linc2/include
-I../../linc2/include -D_REENTRANT
-I/alcesys/build/gnome-2.6/include/glib-2.0
-I/alcesys/build/gnome-2.6/lib/glib-2.0/include -DG_DISABLE_DEPRECATED
-D_GNU_SOURCE -I/alcesys/build/gnome-2.6/include
-I/usr/contrib/X11R6/include -I/usr/include/X11R6 -I/usr/local/include
-I/usr/local/gnu/include +DA2.0W -Ae -c linc.c -Wp,-M.deps/linc.TPlo  +Z
-DPIC -o .libs/linc.o
cpp: "/usr/include/sys/param.h", line 379: warning 2001: Redefinition of
macro MIN.
cpp: "/usr/include/sys/param.h", line 380: warning 2001: Redefinition of
macro MAX.
cc: "linc-debug.h", line 10: error 1000: Unexpected symbol: "void".
cc: "linc.c", line 428: warning 604: Pointers are not assignment-compatible.
cc: "linc.c", line 428: warning 563: Argument #1 is not the correct type.
gmake[6]: *** [linc.lo] Error 1

I _think_ this occurs because the HP-UX C-compiler can't handle `inline' in
C, but then I'm quite fresh on this platform ...
Comment 1 Michael Meeks 2004-02-02 16:29:08 UTC
yep; we handle inline compatibility in glib, which we need to include
first - re-arranged the include order in HEAD; thanks.