This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Building shared library with g77 on HP-UX
- From: Albert Chin <gcc at lists dot thewrittenword dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 7 Oct 2003 06:08:20 -0500
- Subject: Building shared library with g77 on HP-UX
- Reply-to: gcc at gcc dot gnu dot org
I'm trying to build the SciPy module for Python 2.3.2 using GCC 3.3 on
HP-UX 11i. GCC was built with --enable-shared so I do have a
libg2c.sl.
g77 -shared
build/temp.hp-ux-B.11.11-9000/785-2.3/opt/TWWfsw/python232p/lib/python2.3/site-packages/f2py2e/src/fortranobject.o
build/temp.hp-ux-B.11.11-9000/785-2.3/build/temp.hp-ux-B.11.11-9000/785-2.3/fblasmodule.o
-Lbuild/temp.hp-ux-B.11.11-9000/785-2.3
-Lbuild/temp.hp-ux-B.11.11-9000/785-2.3 -lfblas_f2py -llapack_src
-lblas_src -lg2c -o
build/lib.hp-ux-B.11.11-9000/785-2.3/scipy/linalg/fblas.sl
/usr/ccs/bin/ld: Invalid loader fixup in text space needed in output
file for symbol "f_exit" in input file
"/opt/TWWfsw/gcc33/lib/libfrtbegin.a(frtbegin.o)"
collect2: ld returned 1 exit status
error: command 'g77' failed with exit status 1
error: error executing script
Should libfrtbegin.a be built with -fpic?
--
albert chin (china@thewrittenword.com)