New: pciutiles can't find libz
https://bugs.busybox.net/show_bug.cgi?id=523
Host: i686
Target: i686
Build: i686
Summary: pciutiles can't find libz
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: d.albano at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Hi,
i was trying to compile pciutiles having zlib but it fails because can't find lz!
Probably a path mismatch, but i've done some tests without success. Zlib are there and works correctly, openssl compiles successfully!
Here there is the output
make[2]: Leaving directory
`/home/daniele/Development/OPBXA/buildroot-git/build_i686/pciutils-3.0.1/lib' /home/daniele/Development/OPBXA/buildroot-git/../targets/i686-opbxa-linux-gnu//bin/i686-opbxa-linux-gnu-gcc
-O3 -pipe -O3 --sysroot/home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir/ -Wall -W
-Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o lspci.olspci.c/home/daniele/Development/OPBXA/buildroot-git/../targets/i686-opbxa-linux-gnu//bin/i686-opbxa-linux-gnu-gcc
-O3 -pipe -O3 --sysroot/home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir/ -Wall -W
-Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o common.ocommon.c/home/daniele/Development/OPBXA/buildroot-git/../targets/i686-opbxa-linux-gnu//bin/i686-opbxa-linux-gnu-gcc
lspci.o common.o lib/libpci.a -lz -lresolv -o lspci/home/daniele/Development/OPBXA/targets/i686-opbxa-linux-gnu/bin/../lib/gcc/i686-opbxa-linux-gnu/4.3.3/../../../../i686-opbxa-linux-gnu/bin/ld:
cannot find -lz
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 523] pciutiles can't find libz
https://bugs.busybox.net/show_bug.cgi?id=523
--- Comment #1 from Daniele Salvatore Albano <[email protected]> 2009-08-01 17:30:50 UTC --- Created an attachment (id=539)
--> (https://bugs.busybox.net/attachment.cgi?id=539)
My buildroot config
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 523] pciutiles can't find libz
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=523
Daniele Salvatore Albano <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #539|application/xml |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 523] pciutiles can't find libz
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=523
--- Comment #2 from Bernhard Reutner-Fischer <[email protected]> 2009-08-01 17:41:27 UTC --- (In reply to comment #0)
Quoted 17 lines
Hi,
i was trying to compile pciutiles having zlib but it fails because can't find lz!
Probably a path mismatch, but i've done some tests without success. Zlib are there and works correctly, openssl compiles successfully!
Here there is the output
make[2]: Leaving directory `/home/daniele/Development/OPBXA/buildroot-git/build_i686/pciutils-3.0.1/lib'/home/daniele/Development/OPBXA/buildroot-git/../targets/i686-opbxa-linux-gnu//bin/i686-opbxa-linux-gnu-gcc-O3 -pipe -O3 --sysroot/home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir/-Wall -W
-Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o lspci.olspci.c/home/daniele/Development/OPBXA/buildroot-git/../targets/i686-opbxa-linux-gnu//bin/i686-opbxa-linux-gnu-gcc
Quoted 9 lines
-O3 -pipe -O3 --sysroot
/home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir/-Wall -W
-Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o common.ocommon.c/home/daniele/Development/OPBXA/buildroot-git/../targets/i686-opbxa-linux-gnu//bin/i686-opbxa-linux-gnu-gcc
lspci.o common.olib/libpci.a-lz -lresolv -o lspci/home/daniele/Development/OPBXA/targets/i686-opbxa-linux-gnu/bin/../lib/gcc/i686-opbxa-linux-gnu/4.3.3/../../../../i686-opbxa-linux-gnu/bin/ld:
cannot find -lz
broken toolchain and/or toolchain setup.
What does
$ grep TOOLCHAIN .config say?
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 523] pciutiles can't find libz
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=523
--- Comment #3 from Bernhard Reutner-Fischer <[email protected]> 2009-08-01 17:42:54 UTC --- (In reply to comment #2)
Quoted 5 lines
broken toolchain and/or toolchain setup.
What does$ grep TOOLCHAIN .config say?
nm, you attached it, sorry.
BR2_TOOLCHAIN_EXTERNAL=y
Just use the internal toolchain.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 523] pciutiles can't find libz
Quoted 1 line · bugzilla at busybox.net
Oh, and someone might want to pull pciutils from
http://repo.or.cz/w/buildroot.git?a=tree;f=package/pciutils;hb=HEAD
that one works for me and likely fixes that bug magically
HTH,
[Buildroot] [Bug 523] pciutiles can't find libz
Using files from that repository doesn't fix the problem
I don't know if this depends from my external toolchain, because removing pciutiles from package list let buildroot to do the job, hovewer i'll try internal toolchain to see if it works
2009/8/1 Bernhard Reutner-Fischer <[email protected]>:
Quoted 14 lines · bugzilla at busybox.net
Quoted 1 line
Oh, and someone might want to pull pciutils from
http://repo.or.cz/w/buildroot.git?a=tree;f=package/pciutils;hb=HEADthat one works for me and likely fixes that bug magically
HTH,
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 8 lines
Daniele Salvatore Albano Consulente Informatico http://www.phpsoft.it http://www.dacci.it Servizi: - Sviluppo in C# e PHP - Installazione e Amministrazione sistemi Ubuntu, CentOS e Fedora
[Buildroot] [Bug 523] pciutiles can't find libz
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=523
--- Comment #4 from Thomas Petazzoni <[email protected]> 2009-08-01 22:00:09 UTC --- Why do you say ? Just use internal toolchain ? ? External toolchains are now
supposed to be supported. It's not because you don't personaly care about
external toolchain support that other don't. And I do care, for example.
Daniele, thanks for the report, I'll have a look at it.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 523] pciutiles can't find libz
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=523
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc.|thomas.petazzoni at free-
|org |electrons.com
Status|NEW |ASSIGNED--- Comment #5 from Thomas Petazzoni <[email protected]> 2009-08-01 22:39:26 UTC --- Created an attachment (id=541)
--> (https://bugs.busybox.net/attachment.cgi?id=541)
Patch to fix the issue
The patch that fixes the issue. I've just sent a pull request for it.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 523] pciutiles can't find libz
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=523
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED--- Comment #6 from Thomas Petazzoni <[email protected]> 2009-08-04 14:39:45 UTC --- Fixed by
http://git.buildroot.net/buildroot/commit/?id=dcb752b1654d4186d02bbaa9db3b865ac03785cd
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.