Re: Bug#227306: flex: incompatible libfl.a

2004-01-16 Thread Manoj Srivastava
On Mon, 12 Jan 2004 14:20:11 +, Magosányi Árpád [EMAIL PROTECTED] said: 

 Package: flex Version: 2.5.31-21 Severity: normal

 cc -o checkpolicy ebitmap.o hashtab.o symtab.o sidtab.o avtab.o
 policydb.o services.o y.tab.o lex.yy.o queue.o write.o checkpolicy.o
 -lfl /usr/bin/ld: skipping incompatible
 /usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libfl.a when searching
 for -lfl /usr/bin/ld: skipping incompatible /usr/bin/../lib/libfl.a
 when searching for -lfl /usr/bin/ld: skipping incompatible
 /usr/lib/libfl.a when searching for -lfl /usr/bin/ld: cannot find
 -lfl collect2: ld returned 1 exit status make[1]: *** [checkpolicy]
 Error 1 make[1]: Leaving directory
 `/usr/local/build/tmp/checkpolicy-1.4' make: ***
 [debian/stamp-makefile-build] Error 2

This sounds more like a bug in the sparc tool chain
 somewhere. Why is the library incompatible?

manoj
-- 
The mistake you make is in trying to figure it out. Tennessee Williams
Manoj Srivastava   [EMAIL PROTECTED]  http://www.debian.org/%7Esrivasta/
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Re: Bug#227306: flex: incompatible libfl.a

2004-01-16 Thread Ben Collins
On Fri, Jan 16, 2004 at 12:44:29AM -0600, Manoj Srivastava wrote:
 On Mon, 12 Jan 2004 14:20:11 +, Magos?nyi ?rp?d [EMAIL PROTECTED] said: 
 
  Package: flex Version: 2.5.31-21 Severity: normal
 
  cc -o checkpolicy ebitmap.o hashtab.o symtab.o sidtab.o avtab.o
  policydb.o services.o y.tab.o lex.yy.o queue.o write.o checkpolicy.o
  -lfl /usr/bin/ld: skipping incompatible
  /usr/lib/gcc-lib/sparc-linux/3.3.3/../../../libfl.a when searching
  for -lfl /usr/bin/ld: skipping incompatible /usr/bin/../lib/libfl.a
  when searching for -lfl /usr/bin/ld: skipping incompatible
  /usr/lib/libfl.a when searching for -lfl /usr/bin/ld: cannot find
  -lfl collect2: ld returned 1 exit status make[1]: *** [checkpolicy]
  Error 1 make[1]: Leaving directory
  `/usr/local/build/tmp/checkpolicy-1.4' make: ***
  [debian/stamp-makefile-build] Error 2
 
   This sounds more like a bug in the sparc tool chain
  somewhere. Why is the library incompatible?

Sounds like someone is doing a compile that is actually 64-bit, and the
link fails because libfl.a is 32-bit.

Tell them to prepend sparc32 to their compile command line.

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/