plugin-util.c:319: `MAP_FAILED' undeclared (first use in this fun ction)



Title: plugin-util.c:319: `MAP_FAILED' undeclared (first use in this function)

I trying to compile Gnumeric 1.0.1 on HP-UX 10.20 and gcc gets the following
error:

plugin-util.c: In function `gnumeric_mmap_error_info':
plugin-util.c:319: `MAP_FAILED' undeclared (first use in this function)
plugin-util.c:319: (Each undeclared identifier is reported only once
plugin-util.c:319: for each function it appears in.)
gmake[3]: *** [plugin-util.o] Error 1


Has anyone else encountered this problem, or been
able to get Gnumeric to compile on HP-UX 10.20? 

Detail follow:

# gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/specs
gcc version 2.95.3 20010315 (release)

GTK version 1.2.10

Configure options:
setenv CPPFLAGS "-I/usr/include -I/opt/gal/include -I/opt/libglade/include \
                 -I/opt/gnome_print/include/gnome-1.0 -I/opt/gdk_pixbuf/include -I/opt/libxml2/include \
                  -I/opt/libxml/include"
setenv LDFLAGS "-L/opt/gettext/lib -L/opt/libxml/lib -L/opt/libole2-0.2.4/lib -L/opt/libglade/lib"
#
gmake distclean
./configure --prefix=/opt/gnumeric --with-gnome-libs=/opt/gnome_lib/lib \
--with-gnome=/opt/gnome_lib --without-gb
gmake



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