This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do I compile binutils on cygwin?


On Wed, Oct 09, 2002 at 09:14:45PM +0200, Christian Jönsson wrote:
> On Wed, Oct 09, 2002 at 02:48:59PM -0400, Christopher Faylor wrote:
> > On Wed, Oct 09, 2002 at 03:37:06PM -0300, Alexandre Oliva wrote:
> > >On Oct  9, 2002, Christian J?nsson <christian@j-son.org> wrote:
> > >
> > >> grep: /usr/lib/libiconv.la: No such file or directory
> > >> sed: can't read /usr/lib/libiconv.la: No such file or directory
> > >
> > >Looks like you're missing this library, that's probably a dependency
> > >of some other library you have installed and that is being linked
> > >with.
> > 
> > Correct.  You can find out which package contains this file by using
> > the package search at http://cygwin.com/packages/ .
> > 
> > Then, rerun setup.exe, and install it.  It's most likely in the "Devel"
> > category.
> 
> great, thanks for that, it's at libiconv... easy, duh...
> 
> works fine...
> 

for that part, I get into other issues instead...

generating import library for `cygintl-2.dll'
dlltool --as=as --dllname cygintl-2.dll --def .libs/cygintl-2.dll-def --output-l
ib .libs/libimp-cygintl-2.a
extracting exported symbol list from `cygiconv-2.dll'
test -f .libs/impgen.c || \
      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \
*\// { s/^# //; p; }" -e d < ./libtool > .libs/impgen.c
      test -f .libs/impgen.exe || (cd .libs && \
      if test "x" != "x" ; then  -o impgen impgen.c ; \
      else gcc -o impgen impgen.c ; fi)
      .libs/impgen /usr/lib/../bin/cygiconv-2.dll > .libs/cygiconv-2.dll-def
generating import library for `cygiconv-2.dll'
dlltool --as=as --dllname cygiconv-2.dll --def .libs/cygiconv-2.dll-def --output
-lib .libs/libimp-cygiconv-2.a
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o size.exe size.o
bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a -L/usr/local/src/gcc-binuti
ls/trunk/objdir-binutils/bfd/../libiberty -liberty -L/usr/local/src/gcc-binutils
/trunk/objdir-binutils/bfd/../intl .libs/libimp-cygintl-2.a -L/usr/lib .libs/lib
imp-cygiconv-2.a -lcygwin -lkernel32 ../libiberty/libiberty.a ./../intl/libintl.
a
./../intl/libintl.a(loadmsgcat.o): In function `nl_load_domain':
/usr/local/src/gcc-binutils/trunk/src/intl/loadmsgcat.c:84: multiple definition
of `_nl_msg_cat_cntr'
.libs/libimp-cygintl-2.a(ds00010.o)(.text+0x0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [size.exe] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bi
nutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bi
nutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bi
nutils'
make: *** [all-binutils] Error 2

hints?

I had this libtool warning:

libtool: link: warning: `/lib/libintl.la' seems to be moved

however, I do have the file...

$ ls -l /lib/libintl.la
-rwx------    1 chj      Ingen         707 Sep 20 05:47 /lib/libintl.la

chj@D90V2D0J /usr/local/src/gcc-binutils/trunk/objdir-binutils
$


so perhaps something's spooky about libtool?

Cheers,

/ChJ






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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