From: Keith M. <kei...@us...> - 2009-01-03 18:49:09
|
On Monday 01 December 2008 03:01, Adam Rosi-Kessel wrote: > > Cross-Hosted MinGW Build Tool > > http://sourceforge.net/project/showfiles.php?group_id=2435&package_ > >id=12644 > > Similar result with MinGW's script: > > gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 > -fno-exceptions -s -o ar.exe arparse.o arlex.o ar.o not-ranlib.o > arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o > filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a > arlex.o:arlex.c:(.text+0x0): multiple definition of `_main' > arparse.o:arparse.c:(.text+0x0): first defined here > ar.o:ar.c:(.text+0xeb0): multiple definition of `_main' > arparse.o:arparse.c:(.text+0x0): first defined here > ar.o:ar.c:(.text+0x25): undefined reference to `_yyparse' > collect2: ld returned 1 exit status Sorry for the late contribution to this thread. This is reminiscent of the errors which may be seen, when building from a non-release quality tarball, without having flex or bison installed. What version of binutils was this? -- Regards, Keith. |