[Ecls-list] unknown symbol: mp::interrupt-process / We cannot use the mmap code without siginfo
Dr. David Kirkby
david.kirkby at onetel.net
Thu Oct 28 18:54:07 UTC 2010
I'm having a hard time on Solaris and OpenSolaris building the libecl.so library
without text relocations against non-writable segments. This basically makes the
ECL library unusable on 64-bit Solaris/OpenSolaris.
I know the same issue arises with 3 library used by the stats package R if one
uses gcc, but the problem disappears if one uses the Sun compiler.
Hence I'm trying to build the latest git snapshot (downloaded around 1900 GMT on
28th October 2010) using the Sun compiler. But the Sun compiler will not compile
this - it is failing with:
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c/time.d
tmp.c ; else ./dpp
/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c/time.d
tmp.c ; fi
dpp:
/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c/time.d
-> tmp.c
c99 -DECLDIR="\"/export/home/drkirkby/sage-4.6.1.alpha0/local/lib/ecl-10.7.1\""
-I. -I/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/build
-I/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY
-I/export/home/drkirkby/sage-4.6.1.alpha0/local/include -O2 -g -fPIC
-Dsun4sol2 -c -o time.o tmp.c
"/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c/time.d", line
136: warning: implicit function declaration: nanosleep
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP
/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c/unixint.d tmp.c
; else ./dpp
/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c/unixint.d tmp.c
; fi
dpp:
/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c/unixint.d ->
tmp.c
Unknown symbol: mp::interrupt-process
c99 -DECLDIR="\"/export/home/drkirkby/sage-4.6.1.alpha0/local/lib/ecl-10.7.1\""
-I. -I/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/build
-I/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY
-I/export/home/drkirkby/sage-4.6.1.alpha0/local/include -O2 -g -fPIC
-Dsun4sol2 -c -o unixint.o tmp.c
"/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/src/c/unixint.d",
line 97: #error: "We cannot use the mmap code without siginfo"
c99: acomp failed for tmp.c
make[2]: *** [unixint.o] Error 1
make[2]: Leaving directory
`/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/build/c'
make[1]: *** [libeclmin.a] Error 2
make[1]: Leaving directory
`/export/home/drkirkby/sage-4.6.1.alpha0/spkg/build/ecl-10.7.1/src/build'
make: *** [all] Error 2
Failed to build ECL ... exiting
I'm using
* Sun Ultra 27
* 3.33 GHz Intel Xeon
* Sun Studio 12.1
Any ideas how I might fix this?
Dave
More information about the ecl-devel
mailing list