Date: Thu, 26 Dec 1996 22:50:12 +1100 (EST) From: Julian Assange <proff@iq.org> To: hackers@freebsd.org, ports@freebsd.org Subject: Trouble porting scilab Message-ID: <199612261150.WAA06082@profane.iq.org>
next in thread | raw e-mail | index | archive | help
I'm having some difficulty with porting scilab to FreeBSD. scilab contains fortran code, the symbols from which seem to negatively effect linkage between some of the C<->C symbols. For example, x_main.o is a C object and uses _SetXsciOn, which is a C symbol from the libs/X11G.a archive. If called without any fortran objects, _SetXsciOn is resolved. It makes no difference if f77(1) or cc(1) is used to link, asside from initial entry points (_main/crt0 etc). Anyone have any idea on this? f77 -O -o bin/scilex routines/default/interf.o routines/default/bidon.o routines/default/fydot.o routines/default/fjac.o routines/default/fydotd.o routines/default/ffeval.o routines/default/foptim.o routines/default/fsolvf.o routines/default/fsolvj.o routines/default/fintg.o routines/default/fschur.o routines/default/dgetx.o routines/default/dgety.o routines/default/fres.o routines/default/fadda.o routines/default/fj2.o routines/default/fsurf.o routines/default/fsurfd.o routines/default/fresd.o routines/default/fjacd.o routines/default/fcol.o routines/default/fbutn.o routines/default/mainsci.o routines/default/scimem.o routines/default/matusr.o routines/default/matus2.o routines/default/funtab.o routines/default/msgstxt.o libs/system.a libs/interf.a libs/system2.a libs/optim.a libs/integ.a libs/control.a libs/scicos.a libs/signal.a libs/poly.a libs/calelm.a libs/lapack.a libs/X11G.a libs/sparse.a libs/metanet.a libs/sun.a libs/intersci.a libs/xwindow.a libs/xsci.a libs/comm.a -L/usr/X11R6/lib -lXaw -lXmu -lXt -lXext -lSM -lICE -lX11 -ltermcap x_charproc.o: Undefined symbol `_xscion_' referenced from text segment x_charproc.o: Undefined symbol `_xscion_' referenced from text segment x_charproc.o: Undefined symbol `_xscion_' referenced from text segment x_charproc.o: Undefined symbol `_scilab_' referenced from text segment x_main.o: Undefined symbol `_SetXsciOn' referenced from text segment x_main.o: Undefined symbol `_SGDeleteWindow' referenced from data segment x_screen.o: Undefined symbol `_scilines_' referenced from text segment x_zzledt.o: Undefined symbol `_set_is_reading' referenced from text segment x_zzledt.o: Undefined symbol `_sigbas_' referenced from text segment x_zzledt.o: Undefined symbol `_get_echo_mode' referenced from text segment x_zzledt.o: Undefined symbol `_get_echo_mode' referenced from text segment x_zzledt.o: Undefined symbol `_get_echo_mode' referenced from text segment x_zzledt.o: Undefined symbol `_set_echo_mode' referenced from text segment x_zzledt.o: Undefined symbol `_set_is_reading' referenced from text segment x_zzledt.o: Undefined symbol `_sigbas_' referenced from text segment jpc_command.o: Undefined symbol `_sciquit_' referenced from text segment jpc_command.o: Undefined symbol `_sigbas_' referenced from text segment jpc_command.o: Undefined symbol `_get_is_reading' referenced from text segment jpc_command.o: Undefined symbol `_xscion_' referenced from text segment jpc_command.o: Undefined symbol `_GetDriver_' referenced from text segment jpc_command.o: Undefined symbol `_dr_' referenced from text segment jpc_command.o: Undefined symbol `_GetDriver_' referenced from text segment jpc_command.o: Undefined symbol `_dr_' referenced from text segment jpc_command.o: Undefined symbol `_dr_' referenced from text segment jpc_command.o: Undefined symbol `_DeleteSGWin' referenced from text segment jpc_inter.o: Undefined symbol `_xscion_' referenced from text segment wf_w_file.o: Undefined symbol `_write_getfile' referenced from text segment wf_w_file.o: Undefined symbol `_cancel_getfile' referenced from text segment *** Error code 1 Stop. root@profane:/p/math/scilab/work/scilab-2.2# nm libs/X11G.a |fgrep sciOn 00000000 T _SetXsciOn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612261150.WAA06082>