>> /usr/bin/ocamlc.opt -linkall -o ocamlpp.byte -custom unix.cma >> str.cma -cclib -lz -I build tools/ocamlpp.cmo >> /usr/bin/ld: skipping incompatible /usr/lib/ocaml/3.07/libstr.a when >> searching for -lstr >> /usr/bin/ld: cannot find -lstr >> collect2: ld returned 1 exit status Normal, it is looking for the 64bit str librarie which does not exists. The incompatible qualifier means mismatch between 64 and 32 bit.
>> >> But it also raises a similar error for unix et al... Just like all the >> ocaml library has problem ! >> >> The system is : >> Linux calypso 2.6.2 #1 Mon Feb 16 01:12:55 CET 2004 sparc64 GNU/Linux >> >> Maybe it comes from the sparc64 arch ? > > Yep, see Bug#241024 for a similar issue. This is solved by : > > Telling ld that I have a sparc32 solves it. The solution is to prefix the debuild with the sparc32 command which put the correct environnement variable to generate for 32bits. So, try to rather do : sparc32 debuild instead of debuild I forgot to tell you that I was bitten by this bug a few months ago (when sparc64 maintainers decided that gcc will generate 64bits by default). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

