From help-octave-request at bevo dot che dot wisc dot edu Mon Oct 26 03:29:41 1998 Subject: compile problem hpux From: Rene Arends To: help-octave at bevo dot che dot wisc dot edu Date: Mon, 26 Oct 1998 10:29:27 +0100 I try to compile octave-2.1.7 on hp-ux 9 when making kpathsea i get the following problem : ./klibtool link gcc -o kpsewhich kpsewhich.o ../kpathsea/libkpathsea.la -lm gcc -o kpsewhich kpsewhich.o ../kpathsea/STATIC/libkpathsea.a -lm collect2: ld returned 1 exit status /bin/ld: Unsatisfied symbols: __builtin_va_start (code) the previous step seems ok : ln -s ./kpathsea.version klibtool.version ./klibtool archive ar cq ../kpathsea/libkpathsea.la tex-file.lo absolute.lo atou.lo cnf.lo concat.lo concat3.lo concatn.lo db.lo debug.lo dir.lo elt-dirs.lo expand.lo extend-fname.lo file-p.lo find-suffix.lo fn.lo fontmap.lo getopt.lo getopt1.lo hash.lo kdefault.lo line.lo magstep.lo make-suffix.lo path-elt.lo pathsearch.lo proginit.lo progname.lo readable.lo rm-suffix.lo str-list.lo str-llist.lo tex-glyph.lo tex-hush.lo tex-make.lo tilde.lo truncate.lo uppercasify.lo variable.lo version.lo xcalloc.lo xfopen.lo xfseek.lo xftell.lo xgetcwd.lo xmalloc.lo xopendir.lo xputenv.lo xrealloc.lo xstat.lo xstrdup.lo basename.lo cd ../kpathsea/STATIC && rm -f libkpathsea.a libkpathsea.a* && ar cq libkpathsea.a tex-file.o absolute.o atou.o cnf.o concat.o concat3.o concatn.o db.o debug.o dir.o elt-dirs.o expand.o extend-fname.o file-p.o find-suffix.o fn.o fontmap.o getopt.o getopt1.o hash.o kdefault.o line.o magstep.o make-suffix.o path-elt.o pathsearch.o proginit.o progname.o readable.o rm-suffix.o str-list.o str-llist.o tex-glyph.o tex-hush.o tex-make.o tilde.o truncate.o uppercasify.o variable.o version.o xcalloc.o xfopen.o xfseek.o xftell.o xgetcwd.o xmalloc.o xopendir.o xputenv.o xrealloc.o xstat.o xstrdup.o basename.o && ranlib libkpathsea.a ranlib: ar already did it for you, see ar(1). INSTALL_DATA='./install-sh -c -m 644' ./klibtool install-lib . libkpathsea.la ./install-sh -c -m 644 ./STATIC/libkpathsea.a ./libkpathsea.a It seems i need to give an extra library as parameter to find __builtin_va_start Any solutions?? Thanks Rene --------- output from configure : ------------- Octave is now configured for hppa1.1-hp-hpux9.05 Source directory: . Installation prefix: /usr/local C compiler: gcc -g -O2 -Wall C++ compiler: c++ -fno-rtti -fno-implicit-templates -g -O2 -Wall Fortran compiler: f77 -O Fortran libraries: -lcl -lisamstub Use GNU readline: true Default pager: less gnuplot: gnuplot Do internal array bounds checking: false Build static libraries: true Build shared libraries: true Minimal kernel option: false Dynamic Linking (dlopen/dlsym): false Dynamic Linking (shl_load/shl_findsym): true Include support for GNU readline: true configure: warning: I didn't find flex, but it's only a problem if you need to reconstruct lex.cc configure: warning: I didn't find runtest -- install DejaGNU if you want to run `make check' ---------------------- output from configure in kpathsea : ---------------------- configuring in kpathsea running /bin/sh ./configure --enable-shared --enable-shl --enable-kernel --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... ./install-sh -c checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether closedir returns void... no checking for assert.h... yes checking for float.h... yes checking for limits.h... yes checking for memory.h... yes checking for pwd.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/param.h... yes checking for unistd.h... yes checking for ranlib... ranlib checking host system type... hppa1.1-hp-hpux9.05 checking for libtool object types... ./klibtool: hppa1.1-hp-hpux9.05 not explicitly supported, using defaults. STATIC: checking for basename... no checking for putenv... yes checking for strcasecmp... yes checking for strtol... yes checking for strstr... yes checking for bcopy... yes checking for getcwd... yes checking for getwd... no checking for working const... yes checking whether the compiler accepts prototypes... yes checking whether program_invocation_name is predefined... no checking whether putenv uses malloc... no checking whether getcwd uses fork or vfork... no checking host system type... hppa1.1-hp-hpux9.05 checking where the main texmf tree is located... not found ./configure: sh internal 2K buffer overflow creating ./config.status creating Makefile --