RE: Help Please!!




On 08-Feb-00 M. Lavasani wrote:
> I am compiling "gnome-core" package on HPUX box.
> I've already compiled and installed "gnome-lib-1.0.55".
> When i compile program, I get the compilation error as 
> follow:
> 
> 
>         gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/gtk+/include
> -I/usr/include/X11R6 -I/opt/glib/lib/glib/include -I/opt/glib/include
>  -ansi  -I/opt/gnome_lib/include -DNEED_GNOMESUPPORT_H
> -I/opt/gnome_lib/lib/gnome-libs/include -I/opt/ORBit/include
> -I/opt/gtk+/include -I/usr/include/X11R6 -I/opt/glib/lib/glib/include
> -I/opt/glib/include  -I/opt/imlib/include -I/opt/gtk+/include -I/usr/include/X
> 11R6 -I/opt/glib/lib/glib/include -I/opt/glib/include 
> -I/opt/gnome_lib/include -I/opt/gnome_lib/bin/include -Wall -Wno-unused  -c
> gnome-edit.c
> In file included from gnome-edit.c:26:
> /net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:29:
> warning: conflicting types for built-in function `memcmp'
> /net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:85:
> warning: conflicting types for built-in function `memcpy'
> /net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:87:
> warning: conflicting types for built-in function `memset'
> In file included from /opt/gnome_lib/include/libgnomeui/libgnomeui.h:79,
>                  from /opt/gnome_lib/include/gnome.h:9,
>                  from gnome-edit.c:28:
> /opt/gnome_lib/include/libgnomeui/gnome-spell.h:78: parse error before
> `pid_t'
> /opt/gnome_lib/include/libgnomeui/gnome-spell.h:78: warning: no semicolon at
> end of struct or union
> In file included from /opt/gnome_lib/include/libgnomeui/libgnomeui.h:84,
>                  from /opt/gnome_lib/include/gnome.h:9,
>                  from gnome-edit.c:28:
> /opt/gnome_lib/include/libgnomeui/gnome-client.h:126: parse error before
> `pid_t'
> /opt/gnome_lib/include/libgnomeui/gnome-client.h:126: warning: no semicolon
> at end of struct or union
> /opt/gnome_lib/include/libgnomeui/gnome-client.h:147: parse error before `}'
> /opt/gnome_lib/include/libgnomeui/gnome-client.h:316: parse error before
> `pid_t'
> gnome-edit.c: In function `main':
> gnome-edit.c:140: warning: implicit declaration of function `execvp'
> *** Error exit code 1
> 
> Stop.
> 
> When I checked the object file (gnome-edit.o) There is an error message;
> 
> "The editor you have chosen is probably either not available,
> or is not on your current path."
> 
> But i didn't chose any editor!!!
> 
> Have you got any idea please??
        
        I haven't tried to compile GNOME on HP-UX, but it looks like
you need to have gcc's "POSIX compatibility" flag set. If you're using
the HP compiler, you can do that by setting the "-Ae" flag. I don't
remember what the flag is in gcc, but it's something like "-posix",
or maybe "-fposix". Be careful, though - I had all sorts of trouble
doing this on HP's with gcc. That's why I use the HP compiler, even
though it's an expensive extra.

----------------------------------
Date: 09-Feb-00  Time: 14:06:13

Craig Orsinger                  (email: <orsingerc@epg-gw1.lewis.army.mil>)
Logicon RDA
Bldg. 8B28                      "Just another megalomaniac with ideas above his
6th & F Streets                 station. The Universe is full of them."
Ft. Lewis, WA   98433                   - The Doctor
----------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]