Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 1998 11:00:38 -0400 (EDT)
From:      Yee Man Chan <ymc@eecs.umich.edu>
To:        freebsd-hackers@FreeBSD.ORG
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   problem to install GNU binutils-2.9.1
Message-ID:  <Pine.GSO.3.96.980506101601.10528E-100000@shivam.eecs.umich.edu>

next in thread | raw e-mail | index | archive | help
I tried to install GNU binutils-2.9.1 in my FreeBSD 3.0-971225-SNAP. I
follow the instructions to install it but the compiler gives me this
error:

Making install in doc
:
/bin/sh ../../../gsrc/gas/../mkinstalldirs
/a/crib/usr/home/ymc/gnu/man/man1
 /usr/bin/install -c -m 644 ../../../gsrc/gas/doc/as.1
/a/crib/usr/home/ymc/gnu/man/man1/as.1
/bin/sh ./libtool --mode=link gcc -g  -o as-new  app.o as.o
atof-generic.o bignum-copy.o cond.o  depend.o ecoff.o ehopt.o expr.o 
flonum-copy.o flonum-konst.o  flonum-mult.o frags.o hash.o
input-file.o input-scrub.o listing.o  literal.o macro.o messages.o
output-file.o read.o sb.o stabs.o  subsegs.o symbols.o write.o
tc-i386.o obj-aout.o atof-ieee.o   ../libiberty/libiberty.a 
gcc -g -o as-new app.o as.o atof-generic.o bignum-copy.o cond.o
depend.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o
flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o
literal.o macro.o messages.o output-file.o read.o sb.o stabs.o
subsegs.o symbols.o write.o tc-i386.o obj-aout.o atof-ieee.o
../libiberty/libiberty.a
/bin/sh ./libtool --mode=link gcc -g  -o gasp-new  gasp.o macro.o
sb.o hash.o ../libiberty/libiberty.a 
gcc -g -o gasp-new gasp.o macro.o sb.o hash.o
../libiberty/libiberty.a
../../gsrc/libiberty/xmalloc.c:92: Undefined symbol `_xexit'
referenced from text segment
../../gsrc/libiberty/xmalloc.c:130: Undefined symbol `_xexit'
referenced from text segment
*** Error code 1

Stop.
*** Error code 1

Stop.

How I install it:
./configure --prefix=/my/directory 
make 
make install (I get the error when I run make install)

This procedure works seamlessly in my SunOS 5.5.1. What's wrong with the
FreeBSD? Any clue?

Thanks.
Yee Man Chan



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.980506101601.10528E-100000>