Ticket #61 (closed defect: fixed)

Opened 2 years ago

Last modified 7 months ago

Builderror: cannot find -lcheck

Reported by: stoile@anderedomain.de Assigned to: somebody
Priority: major Milestone: 1.1
Component: packages Version: trunk
Keywords: Cc:

Description (Last modified by tg)

I just tried to build revision 467 of freewrt trunk and it failed:

/mnt/data/stoile/freewrt-2006-07-30/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o .libs/check_addr check_addr.o -L/mnt/data/stoile/freewrt-2006-07-30/staging_dir_mipsel/usr/lib ../../src/.libs/libdnet.so -L/usr/lib -lcheck /mnt/data/stoile/freewrt-2006-07-30/staging_dir_mipsel/lib/gcc/mipsel-linux-uclibc/3.4.4/../../../../mipsel-linux-uclibc/bin/ld: skipping incompatible /usr/lib/libcheck.a when searching for -lcheck /mnt/data/stoile/freewrt-2006-07-30/staging_dir_mipsel/lib/gcc/mipsel-linux-uclibc/3.4.4/../../../../mipsel-linux-uclibc/bin/ld: cannot find -lcheck

Attachments

make.log (4.6 kB) - added by stoile@anderedomain.de on 07/30/06 17:47:12.
buildlog
libdnet-Makefile.patch (312 bytes) - added by Romain <romain@mezimail.com> on 04/13/08 21:38:38.
Disable the check lib uses

Change History

07/30/06 17:47:12 changed by stoile@anderedomain.de

  • attachment make.log added.

buildlog

08/04/06 18:04:08 changed by markus

  • status changed from new to closed.
  • resolution set to fixed.

I cannot reproduce this, maybe it's fixed in SVN or you need a "make cleandir" first. Reopen if it still exists.

08/06/06 12:07:37 changed by anonymous

Maybe the problem is solved in newer revision. I just built freewrt successfully, but with a simpler config. I'll test the newer revision with my old config.

04/13/08 21:38:38 changed by Romain <romain@mezimail.com>

  • attachment libdnet-Makefile.patch added.

Disable the check lib uses

04/13/08 21:39:53 changed by Romain <romain@mezimail.com>

I found the origin of the problem, here a patch in order to definitly (I hope) fix this problem.

04/13/08 23:23:30 changed by tg

  • status changed from closed to reopened.
  • resolution deleted.
  • description changed.

I can reproduce the bug on flyingfish.

@markus: apt-get install check did the trick for me (to make it fail)!

04/13/08 23:24:18 changed by tg

  • status changed from reopened to closed.
  • resolution set to fixed.
  • component changed from build system to packages.
  • milestone changed from 1.0 to 1.1.

fixed in r3742, thanks for the patch!


Add/Change #61 (Builderror: cannot find -lcheck)




Action