This is the mail archive of the libffi-discuss@sourceware.cygnus.com mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Error building libffi


I am trying to build libffi on a Solaris 2.6 box. The output from uname -a is as
follows:

SunOS su306 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-60

This is part of the latest libgcj snapshot. I have already configured and
installed the latest snapshot of egcs. I am using the exact same configure flags
for libgcj. Configuration is as follows:

../configure --prefix=/home/urban/local/sun26 --enable-threads=posix
--enable-java-gc=boehm --with-as=/home/urban/local/sun26/bin/gas
--with-ld=/home/uban/local/sun26/bin/gld

Iam am getting the following error when compiling libffi:

/bin/sh ./libtool --mode=link gcc -fexceptions -g -O2   -o libffi.la -rpath
/home/urban/local/sun26/lib -release 2.00-beta  debug.lo prep_cif.lo types.lo
raw_api.lo ffi.lo v8.lo
rm -fr .libs/libffi.la .libs/libffi.* .libs/libffi-2.00-beta.*
gcc -shared  debug.lo prep_cif.lo types.lo raw_api.lo ffi.lo v8.lo  -lc
-Wl,-soname -Wl,libffi-2.00-beta.so -o .libs/libffi-2.00-beta.so
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libffi-2.00-beta.so: cannot open file: No such file or directory

ld: fatal: File processing errors. No output written to
.libs/libffi-2.00-beta.so
collect2: ld returned 1 exit status
gmake[1]: *** [libffi.la] Error 1
gmake[1]: Leaving directory
`/home/urban/gnu_src/compile/libgcj-snapshot-1999-12-22/objdir/sparc-sun-solaris2.6/libffi'

gmake: *** [all-target-libffi] Error 2

Any help anyone could offer would be greatly appreciated.

Scott




--
D. S. Urban
email : urban@ast.lmco.com
-------------------------------------------------------------------------------
To be the person, you must know the person. To know the person, you must
understand the person. To understand the person, you must listen. To listen,
you must open your mind and put aside all preconceived ideas and notions.
-------------------------------------------------------------------------------
All opinions expressed are my own not that of my employer




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]