octave-maintainers
[Top][All Lists]
Advanced

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

Problems with compiling on SPARC-Solaris2.5


From: Dutt, Vinayak, Ph.D.
Subject: Problems with compiling on SPARC-Solaris2.5
Date: Mon, 2 Dec 1996 09:08:54 -0600

Bug report for Octave 1.93 configured for sparc-sun-solaris2.5

Vinayak Dutt

Ultrasound Research
Mayo Clinic
Rochester Minnesota
address@hidden


Description:
-----------

  Details of problems with compiling for SPARC-Solaris2.5 with dynamic
  load and lite-kernel option.

  As I had reported earlier, I am not able to compile for Solaris2.5 when
  I wanted to compile Octave with --enable-dl and --enable-lite-kernel option.
  This seems to be some kind of problem with loader as I get a lot of
  undefined symbols.

  If I compile with static linking (and no dynamic loading), octave compiles
  fine and I am currently using octave installed in such a way.

  Here's a part of make output when it trips on loading .....

.....

c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H -I/opt/FSFlibg++/lib/g++-include -fno-implicit-templates  -O 
-Wall SLStack-sym.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H -I/opt/FSFlibg++/lib/g++-include -fno-implicit-templates  -O 
-Wall SLStack-tok.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H -I/opt/FSFlibg++/lib/g++-include -fno-implicit-templates  -O 
-Wall SLStack-ue.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H -I/opt/FSFlibg++/lib/g++-include -fno-implicit-templates  -O 
-Wall SLStack-ui.cc
ar rc  libtinst.a  Array-oc.o  Array-os.o  Array-tc.o  Map-fnc.o  Map-tc.o  
SLList-expr.o  SLList-misc.o  SLList-plot.o  SLList-str.o  SLList-tc.o  
SLList-tm.o  SLStack-i.o  SLStack-pc.o  SLStack-str.o  SLStack-sym.o  
SLStack-tok.o  SLStack-ue.o  SLStack-ui.o
ranlib libtinst.a
if false; then \
  c++ -shared -o libtinst.so  Array-oc.o  Array-os.o  Array-tc.o  Map-fnc.o  
Map-tc.o  SLList-expr.o  SLList-misc.o  SLList-plot.o  SLList-str.o  
SLList-tc.o  SLList-tm.o  SLStack-i.o  SLStack-pc.o  SLStack-str.o  
SLStack-sym.o  SLStack-tok.o  SLStack-ue.o  SLStack-ui.o \
    -L../liboctave -L../libcruft -L../readline -L../kpathsea -L../glob 
-L../dlfcn -L. -Xlinker -R -Xlinker /home/us0/vdp/local/lib \
    -loctinterp -loctave -lcruft -lreadline -lkpathsea \
    -ltermcap -lm -ldl -lsocket  -lg++ ; \
else \
  true ; \
fi
touch stamp-tinst
c++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H -I/opt/FSFlibg++/lib/g++-include -fno-implicit-templates  -O 
-Wall balance.cc -o pic/balance.o
c++ -shared -o balance.oct pic/balance.o \
    -L../liboctave -L../libcruft -L../readline -L../kpathsea -L../glob 
-L../dlfcn -L. -Xlinker -R -Xlinker /home/us0/vdp/local/lib \
    -loctinterp -loctave -ltinst -lcruft  -lreadline -lkpathsea -lglob  \
    -Xlinker -R -Xlinker /opt/SUNWspro/lib   -L /opt/SUNWspro/lib -L 
/opt/SUNWspro/SC3.0.1/lib -L /usr/ccs/lib -L /usr/lib 
/opt/SUNWspro/SC3.0.1/lib/libM77.a -lF77 -lsunmath -ll -ltermcap -lm -ldl 
-lsocket  -lg++
Text relocation remains                       referenced
    against symbol                  offset      in file
visit_global_init_list__15tree_print_codeR21tree_global_init_list 0x4a4         
./liboctinterp.a(pt-pr-code.o)
is_map__C12octave_value             0x764       ./liboctinterp.a(ov.o)
clone__18octave_all_va_args         0x1e4       ./liboctinterp.a(ov-va-args.o)
_IO_do_write                        0x4a4       
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(stdiostream.o)
_IO_do_write                        0x8ec       
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(fileops.o)
_IO_do_write                        0x35c       
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(stdiostream.o)
_IO_do_write                        0xe8        
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(filebuf.o)
_IO_do_write                        0x142c      
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(fileops.o)
_IO_do_write                        0x148       
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(fileops.o)
_IO_do_write                        0x928       
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(fileops.o)
_IO_do_write                        0xa1c       
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(fileops.o)
_IO_do_write                        0x9b0       
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/libstdc++.a(fileops.o)
sigdelset                           0x160       
../readline/libreadline.a(signals.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x68e8            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x6b0c            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x82e4            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x6d14            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x6d08            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x6f4c            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0xab7c            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x72b8            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0xa598            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x8018            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x8a4c            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x809c            
./liboctinterp.a(ov-typeinfo.o)
_._t5Array1ZPFRC12octave_valueRC12octave_value_12octave_value 0x6184            
./liboctinterp.a(ov-typeinfo.o)
kill                                0x170       
../readline/libreadline.a(signals.o)




Configuration (please do not edit this section):
-----------------------------------------------

uname output:     SunOS us0 5.5 Generic sun4m sparc SUNW,SPARCsystem-600
configure opts:   --prefix=/home/us0/vdp/local --enable-dl --enable-lite-kernel
Fortran compiler: f77
FFLAGS:           -O
F2C:              
F2CFLAGS:         
FLIBS:            -Xlinker -R -Xlinker /opt/SUNWspro/lib   -L /opt/SUNWspro/lib 
-L /opt/SUNWspro/SC3.0.1/lib -L /usr/ccs/lib -L /usr/lib 
/opt/SUNWspro/SC3.0.1/lib/libM77.a -lF77 -lsunmath
CPPFLAGS:         
INCFLAGS:         -I/home/us0/vdp/local/include 
-I/home/us0/vdp/local/include/octave-1.93
C compiler:       gcc, version 2.7.2
CFLAGS:           -DHAVE_CONFIG_H  -O -Wall
CPICFLAG:         -fPIC
C++ compiler:     c++, version 2.7.2
CXXFLAGS:         -DHAVE_CONFIG_H -I/opt/FSFlibg++/lib/g++-include 
-fno-implicit-templates  -O -Wall
CXXPICFLAG:       -fPIC
LDFLAGS:          -O
LIBFLAGS:         -L/home/us0/vdp/local/lib
RLD_FLAG:         -Xlinker -R -Xlinker /home/us0/vdp/local/lib
CXXLIBS:          -lsocket -lsocket -lstdc++ -lm 
-L/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2 -L/opt/FSFlibg++/lib 
-L/usr/ccs/bin -L/usr/ccs/lib -L/opt/FSFgcc/lib -lsocket -lstdc++ -lm -lgcc -lc 
-lgcc
TERMLIBS:         -ltermcap
LIBS:             
LEXLIB:           -ll
LIBPLPLOT:        
LIBDLFCN:         
DEFS:

  -DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=":" -DUSE_GNU_INFO=1
  -DUSE_READLINE=1 -DOCTAVE_LITE=1 -DHAVE_LIBSOCKET=1 -DSIZEOF_SHORT=2
  -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
  -DF77_APPEND_UNDERSCORE=1 -DSTDC_HEADERS=1 -DHAVE_DIRENT_H=1
  -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ASSERT_H=1
  -DHAVE_CURSES_H=1 -DHAVE_FCNTL_H=1 -DHAVE_FLOAT_H=1
  -DHAVE_FLOATINGPOINT_H=1 -DHAVE_GRP_H=1 -DHAVE_IEEEFP_H=1
  -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_NAN_H=1 -DHAVE_PWD_H=1
  -DHAVE_SGTTY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
  -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=1
  -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1
  -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_TERMIO_H=1
  -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VARARGS_H=1
  -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DHAVE_ATEXIT=1
  -DHAVE_BCOPY=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_ENDGRENT=1
  -DHAVE_ENDPWENT=1 -DHAVE_EXECVP=1 -DHAVE_FCNTL=1 -DHAVE_FORK=1
  -DHAVE_GETCWD=1 -DHAVE_GETEGID=



reply via email to

[Prev in Thread] Current Thread [Next in Thread]