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

[mgp-users 00662] help compiling under SUN



Dear Mgp experts,

    I use mgp in my linux PC and now I wanted to compile it on my Sun
SOLARIS 2.8

I follow the basic steps

./configure --disable-freetype --disable-vflib
xmkmf
make Makefiles

when I compile with make I get

make

rm -f mgp.o
cc -c -O -Xc -xF -xcg92    -I/usr/openwin/include  -Dsun -Dsparc -DSVR4
-DSYSV      -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1
-DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1
-DHAVE_VARARGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1
-DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1
-DHAVE__SETBUFEND=1 -DHAVE_USLEEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1
-DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1
-DMGPLIBDIR=\"/usr/openwin/lib/X11/mgp\"
-DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\"
-I/usr/local/include mgp.c
"mgp.c", line 119: undefined symbol: sigset_t
"mgp.c", line 119: syntax error before or at: mask
"mgp.c", line 129: undefined symbol: mask
"mgp.c", line 171: undefined symbol: sigset_t
"mgp.c", line 171: syntax error before or at: mask
"mgp.c", line 184: undefined symbol: mask
"mgp.c", line 1131: cannot recover from previous errors
cc: acomp failed for mgp.c
*** Error code 2

Did you notice a similar error when compiling with SUN cc compiler?

Alfio