[Ecls-list] error ecl on linking: multiple definition of `init_MYPROG'
birulevo.net
linkfly at birulevo.net
Thu Apr 5 21:01:30 UTC 2007
Hello!
I am finded solution my problem in mailing list archives:
;if changed init_function:
(setf si::*init-function-prefix* "FOO"); writing front:
(c::build-program "myprog" ... then all ok! :)
> Hello all!
> Try building program how write in manual and get this error:(
> Help me please..
> Full text error:
> ;;; Note: Invoking external command:
> ;;; gcc -o "/home/proprint/forcpl/ecl/bin/test/check-user"
> -L"/home/proprint/forcpl/ecl/lib/ecl/"
> "/home/proprint/forcpl/ecl/bin/test/ECLINITgoZX87.o"
> "/home/proprint/forcpl/ecl/bin/test/check-user.o"
> -Wl,--rpath,/home/proprint/forcpl/ecl/lib/ecl/ -lecl -lm
> /home/proprint/forcpl/ecl/bin/test/check-user.o(.text+0x234): In function `init_CHECK_USER':
> /home/proprint/forcpl/ecl/bin/test/check-user.c:83: multiple definition of `init_CHECK_USER'
> /home/proprint/forcpl/ecl/bin/test/ECLINITgoZX87.o(.text+0x0):/home/proprint/forcpl/ecl/bin/test/ECLINITgoZX87.c:22: first defined here
> /usr/bin/ld: Warning: size of symbol `init_CHECK_USER' changed from
> 99 in /home/proprint/forcpl/ecl/bin/test/ECLINITgoZX87.o to 157 in
> /home/proprint/forcpl/ecl/bin/test/check-user.o
> An error occurred during initialization:
> (SYSTEM "gcc -o \"/home/proprint/forcpl/ecl/bin/test/check-user\"
> -L\"/home/proprint/forcpl/ecl/lib/ecl/\"
> \"/home/proprint/forcpl/ecl/bin/test/ECLINITgoZX87.o\"
> \"/home/proprint/forcpl/ecl/bin/test/check-user.o\"
> -Wl,--rpath,/home/proprint/forcpl/ecl/lib/ecl/ -lecl -lm ") returned non-zero value 1.
> P.S. Excuse for bad English
--
with RESPECT!
LinkFly mailto:linkfly at birulevo.net
More information about the ecl-devel
mailing list