[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Fri, Jan 16, 2004 at 12:44:29AM -0600, Manoj Srivastava wrote:
> On Mon, 12 Jan 2004 14:20:11 +0000, Magos?nyi ?rp?d <mag@bunuel.tii.matav.hu> 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/



Reply to: