From bug-octave-request at bevo dot che dot wisc dot edu Sun Nov 1 14:11:29 1998 Subject: 2 problems with compiling on i386-pc-solaris2.6 . From: John Walsh To: bug-octave at bevo dot che dot wisc dot edu Cc: jwalsh at cronos dot cp dot dias dot ie Date: Sun, 01 Nov 1998 20:11:52 +0000 Bug report for Octave 2.0.13 configured for i386-pc-solaris2.6 Description: ----------- Compiler: egcs suite (gcc version egcs-2.91.57 19980901 (egcs-1.1 release)) /usr/ccs/bin/ld 2 Errors. Error 1: By just running "./configure; make" At the linking stage of octave, it generates an Error 2. The problem is regarding undefined symbols in "Quad.o", it cliams that it cannot relocate these symbols and halts. The symbol names are obscure eg ".E_L24536" Note* this error also occurs when using the standard gnu C,C++ (2.8.1) suite. Error 2: src/strftime.c causes link errors as the function strftime() is aleady defined in /lib/libc.a. Repeat-By: --------- Error 1: See Above. Error 2: (This affects egcs only and not normal gnu gcc) Afer patching Octave (see egcs.cygnus.com - Egcs FAQ) ./configure make Fix: --- Error 1: Edit Makeconf, replace LD_FLAG = -g with LD_FLAG = -z nodefs Error 2: replace occurences of strftime in strftime.c by another name (eg octstrftime) regards, John. ---------------------------------------------------------------- John Walsh Tel. +353-1-6621333 School of Cosmic Physics, Fax +353-1-6621477 Dublin Institute for Advanced Studies, 5 Merrion Square, Dublin 2, Ireland.