Need help: fail recompiling pcmcia package
Hi, I just recompile my kernel to 2.4.18. Therefore, I have to recompile the pcmcia package. So I downloaded the appropriate pcmcia source for 7.2 from /people/zoz. Afterthat, I installed the source rpm, and then performed "rpm -ba /usr/src/packages/SPEC/pcmcia.spec" to create an rpm. Normally, the rpm is placed in /usr/src/packages/RPMS/<arch>. However, during the rpm-creation, there's an error happened, so that the rpm is never created due to error. Here is the error: ============================================================== + /usr/lib/rpm/brp-compress Processing files: pcmcia-3.1.28-0 Finding Provides: (using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... PreReq: /bin/sh Requires: /bin/bash /bin/sh ld-linux.so.2 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libm.so.6 Processing files: km_pcmci-3.1.28-0 Finding Provides: (using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... Requires: /bin/sh /usr/bin/perl Processing files: pcmcia-modules-3.1.28_2.4.18_4GB-0 File not found by glob: /var/tmp/pcmcia-root/lib/modules/*/net/* Processing files: pcmcia-cardinfo-3.1.28-0 File not found: /var/tmp/pcmcia-root/usr/X11R6/bin/cardinfo ============================================================== Any hint/idea/thought? Regards, Verdi
On Tuesday 06 August 2002 15:43, Verdi March wrote:
Here is the error: ============================================================== + /usr/lib/rpm/brp-compress Processing files: pcmcia-3.1.28-0 Finding Provides: (using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... PreReq: /bin/sh Requires: /bin/bash /bin/sh ld-linux.so.2 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libm.so.6 Processing files: km_pcmci-3.1.28-0 Finding Provides: (using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... Requires: /bin/sh /usr/bin/perl Processing files: pcmcia-modules-3.1.28_2.4.18_4GB-0 File not found by glob: /var/tmp/pcmcia-root/lib/modules/*/net/* Processing files: pcmcia-cardinfo-3.1.28-0 File not found: /var/tmp/pcmcia-root/usr/X11R6/bin/cardinfo ==============================================================
This isn't the actual error, it's a "by-product" of the error. rpm can't find a file the spec file has listed, or apparently any of them. This could be because of a compile error or because the Makefile has changed where it puts the files and spec file needs to be updated to reflect the change.
Any hint/idea/thought?
You need to look earlier in the output to see why those files aren't found. regards Anders
On Tuesday 06 August 2002 21:59, Anders Johansson wrote:
On Tuesday 06 August 2002 15:43, Verdi March wrote:
Processing files: pcmcia-modules-3.1.28_2.4.18_4GB-0 File not found by glob: /var/tmp/pcmcia-root/lib/modules/*/net/* Processing files: pcmcia-cardinfo-3.1.28-0 File not found: /var/tmp/pcmcia-root/usr/X11R6/bin/cardinfo ==============================================================
This isn't the actual error, it's a "by-product" of the error. rpm can't find a file the spec file has listed, or apparently any of them. This could be because of a compile error or because the Makefile has changed where it puts the files and spec file needs to be updated to reflect the change.
Any hint/idea/thought?
You need to look earlier in the output to see why those files aren't found.
Give up. Now revert to 2.4.16. I couldn't find any error before those lines. There are warning, but those are related to the code-compilation. The last line (about cardinfo) seems happen because I didn't have cardinfo or didn't build the cardinfo The error about modules/*/net I think is caused by directory structure in 2.4.18_modules does not have subdir net whereas 2.4.16_modules has. I used a 'quick&dirty' fix, commented lines related to cardinfo and /modules/*net. The build success, produced 3 rpm (source, pcmcia-modules, and pcmcia rpms). But when I install it and restart the pcmcia service, I got complains like "unresolved symbol pci_irq_mask", "invalid parameter". I got this complains when I upgraded from kernel 2.4.4 to 2.4.16 (binary k_deftl), but reinstalling pcmcia binary fix it. This time, I fail to rebuild correctly pcmcia modules and pcmcia utils. Regards, Verdi
regards Anders
participants (2)
-
Anders Johansson
-
Verdi March