[Ecls-list] ECL main trunk fails to compile on OpenSolaris

Semih Cemiloglu Semih.Cemiloglu at nec.com.au
Thu May 13 00:17:03 UTC 2010


Hi,

ECL main trunk, obtained via git 2 days ago, fails to compile on OpenSolaris with Sun Studio C/C++ compilers:

Commands used were:

export CC=cc
export CXX=CC
export CFLAGS="-mt -xc99=all -g -xO3"
export CXXFLAGS="-mt -g0 -x03"
./configure --enable-slow-config --with-system-gmp=no  --prefix=/stow/ecl-10.4.2 2>&1 |tee conf.log
gmake 2>&1 |tee make.log

configure step has completed successfully, but build (make) step fails with errors listed below.

Would you please advise how to fix this?

Thanks, regards,
Semih Cemiloglu


==== Build log ===

gmake[2]: Entering directory `/export/home/semihc/ecl-prj/ecl/build/c'
cat /export/home/semihc/ecl-prj/ecl/src/c/symbols_list.h | \
        sed -e 's%{\([A-Z ]*.*".*"\),[^,]*,[ ]*NULL,.*}%{\1,NULL}%g' \
            -e 's%{\([A-Z ]*.*".*"\),[^,]*,[ ]*\([^,]*\),.*}%{\1,"\2"}%g' \
            -e 's%{NULL.*%{NULL,NULL}};%' > /export/home/semihc/ecl-prj/ecl/src/c/symbols_list2.h
if test -f ../CROSS-DPP; then touch dpp; else \
        cc -I/export/home/semihc/ecl-prj/ecl/src/c -I/export/home/semihc/ecl-prj/ecl/build -I./ /export/home/semihc/ecl-prj/ecl/src/c/dpp.c
 -mt -xc99=all -g -xO3 -fPIC -mt -xc99=all -g -xO3 -fPIC -Dsun4sol2 -o dpp ; \
        fi
if test -f ../CROSS-DPP ; then ../CROSS-DPP /export/home/semihc/ecl-prj/ecl/src/c/main.d tmp.c ; else ./dpp /export/home/semihc/ecl-prj/ecl/
src/c/main.d tmp.c ; fi
dpp: /export/home/semihc/ecl-prj/ecl/src/c/main.d -> tmp.c

Unknown symbol: mp::*current-process*

Unknown symbol: mp::+load-compile-lock+

Unknown symbol: mp::+load-compile-lock+
cc -DECLDIR="\"/stow/ecl-10.4.2/lib/ecl-10.4.2\"" -I. -I/export/home/semihc/ecl-prj/ecl/build -I/export/home/semihc/ecl-prj/ecl/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY   -mt -xc99=all -g -xO3 -fPIC -mt -xc99=all -g -xO3 -fPIC -Dsun4sol2 -c -o main.o tmp.c
"/export/home/semihc/ecl-prj/ecl/src/c/main.d", line 277: warning: argument #1 is incompatible with prototype:
        prototype: pointer to char : "/usr/include/sys/mman.h", line 238
        argument : pointer to struct cl_env_struct {volatile int disable_interrupts, unsigned int nvalues, array[64] of pointer to union cl_lispunion {..} values, pointer to union cl_lispunion {..} function, unsigned int stack_size, pointer to pointer to union cl_lispunion {..} stack, pointer to pointer to union cl_lispunion {..} stack_top, pointer to pointer to union cl_lispunion {..} stack_limit, unsigned int bds_size, pointer to struct bds_bd {..} bds_org, pointer to struct bds_bd {..} bds_top, pointer to struct bds_bd {..} bds_limit, pointer to struct ihs_frame {..} ihs_top, unsigned int frs_size, pointer to struct ecl_frame {..} frs_org, pointer to struct ecl_frame {..} frs_top, pointer to struct ecl_frame {..} frs_limit, pointer to struct ecl_frame {..} nlj_fr, unsigned int frame_id, pointer to char cs_org, pointer to char cs_limit, pointer to char cs_barrier, unsigned int cs_size, pointer to union cl_lispunion {..} string_pool, pointer to struct cl_compiler_env {..} c_env, pointer to union cl_lispunion {..} fmt_aux_stream, int print_pretty, pointer to short queue, pointer to short indent_stack, int qh, int qt, int qc, int isp, int iisp, array[3] of pointer to union cl_lispunion {..} big_register, pointer to union cl_lispunion {..} pending_interrupt, pointer to union cl_lispunion {..} method_hash, pointer to union cl_lispunion {..} method_spec_vector, int method_generation, pointer to void fficall, pointer to void altstack, unsigned int altstack_size, int trap_fpe_bits, pointer to void old_exception_filter}
"/export/home/semihc/ecl-prj/ecl/src/c/main.d", line 297: warning: assignment type mismatch:
        pointer to struct cl_env_struct {volatile int disable_interrupts, unsigned int nvalues, array[64] of pointer to union cl_lispunion {..} values, pointer to union cl_lispunion {..} function, unsigned int stack_size, pointer to pointer to union cl_lispunion {..} stack, pointer to pointer to union cl_lispunion {..} stack_top, pointer to pointer to union cl_lispunion {..} stack_limit, unsigned int bds_size, pointer to struct bds_bd {..} bds_org, pointer to struct bds_bd {..} bds_top, pointer to struct bds_bd {..} bds_limit, pointer to struct ihs_frame {..} ihs_top, unsigned int frs_size, pointer to struct ecl_frame {..} frs_org, pointer to struct ecl_frame {..} frs_top, pointer to struct ecl_frame {..} frs_limit, pointer to struct ecl_frame {..} nlj_fr, unsigned int frame_id, pointer to char cs_org, pointer to char cs_limit, pointer to char cs_barrier, unsigned int cs_size, pointer to union cl_lispunion {..} string_pool, pointer to struct cl_compiler_env {..} c_env, pointer to union cl_lispunion {..} fmt_aux_stream, int print_pretty, pointer to short queue, pointer to short indent_stack, int qh, int qt, int qc, int isp, int iisp, array[3] of pointer to union cl_lispunion {..} big_register, pointer to union cl_lispunion {..} pending_interrupt, pointer to union cl_lispunion {..} method_hash, pointer to union cl_lispunion {..} method_spec_vector, int method_generation, pointer to void fficall, pointer to void altstack, unsigned int altstack_size, int trap_fpe_bits, pointer to void old_exception_filter} "=" pointer to char
"/export/home/semihc/ecl-prj/ecl/src/c/main.d", line 533: warning: implicit function declaration: ecl_cs_set_org
rm -f tmp.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP /export/home/semihc/ecl-prj/ecl/src/c/symbol.d tmp.c ; else ./dpp /export/home/semihc/ecl-prj/ecl/src/c/symbol.d tmp.c ; fi
dpp: /export/home/semihc/ecl-prj/ecl/src/c/symbol.d -> tmp.c
cc -DECLDIR="\"/stow/ecl-10.4.2/lib/ecl-10.4.2\"" -I. -I/export/home/semihc/ecl-prj/ecl/build -I/export/home/semihc/ecl-prj/ecl/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY   -mt -xc99=all -g -xO3 -fPIC -mt -xc99=all -g -xO3 -fPIC -Dsun4sol2 -c -o symbol.o tmp.c
"/export/home/semihc/ecl-prj/ecl/src/c/symbol.d", line 344: operands have incompatible types:
         pointer to struct bds_bd {pointer to union cl_lispunion {..} symbol, pointer to union cl_lispunion {..} value} ":" void
"/export/home/semihc/ecl-prj/ecl/src/c/symbol.d", line 345: operands have incompatible types:
         pointer to struct bds_bd {pointer to union cl_lispunion {..} symbol, pointer to union cl_lispunion {..} value} ":" void
"/export/home/semihc/ecl-prj/ecl/src/c/symbol.d", line 346: operands have incompatible types:
         pointer to struct bds_bd {pointer to union cl_lispunion {..} symbol, pointer to union cl_lispunion {..} value} ":" void
"/export/home/semihc/ecl-prj/ecl/src/c/symbol.d", line 347: operands have incompatible types:
         pointer to struct bds_bd {pointer to union cl_lispunion {..} symbol, pointer to union cl_lispunion {..} value} ":" void
"/export/home/semihc/ecl-prj/ecl/src/c/symbol.d", line 366: operands have incompatible types:
         pointer to struct bds_bd {pointer to union cl_lispunion {..} symbol, pointer to union cl_lispunion {..} value} ":" void
"/export/home/semihc/ecl-prj/ecl/src/c/symbol.d", line 367: operands have incompatible types:
         pointer to struct bds_bd {pointer to union cl_lispunion {..} symbol, pointer to union cl_lispunion {..} value} ":" void
"/export/home/semihc/ecl-prj/ecl/src/c/symbol.d", line 368: operands have incompatible types:
         pointer to struct bds_bd {pointer to union cl_lispunion {..} symbol, pointer to union cl_lispunion {..} value} ":" void
"/export/home/semihc/ecl-prj/ecl/src/c/symbol.d", line 369: operands have incompatible types:
         pointer to struct bds_bd {pointer to union cl_lispunion {..} symbol, pointer to union cl_lispunion {..} value} ":" void
cc: acomp failed for tmp.c
gmake[2]: *** [symbol.o] Error 1
gmake[2]: Leaving directory `/export/home/semihc/ecl-prj/ecl/build/c'
gmake[1]: *** [libeclmin.a] Error 2
gmake[1]: Leaving directory `/export/home/semihc/ecl-prj/ecl/build'
gmake: *** [all] Error 2






More information about the ecl-devel mailing list