Re: Failed compile kernel with apci patch applied

Frederic Dernbach
2003-10-23T11:18:45Z

Hi Len,

I followed the steps you recommended.

I restarted the whole process from scratch. I installed the 2.4.22
baseline kernel source files as well as the 2.4.22 acpi patch
(acpi-20031002-2.4.22.diff.gz).

"make bzImage" went fine. "make modules" went fine I presume (I did not
spot any error in the std output or std error that I kept).

However "make modules_install" terminated with :
depmod:*** Unresolved symbols in
/lib/modules/2.4.22-22-acpi/kernel/crypto/autoload.o
depmod: crypto_alg_lookup
depmod:*** Unresolved symbols in
/lib/modules/2.4.22-22-acpi/kernel/crypto/proc.o
depmod: crypto_alg_sem
depmod: crypto_alg_list

Is there anythting wrong that I dod ? Can I continue installing the
newly compiles kernel ? (I'm a newbee with linux kernel).

For your information that my .config file include the option
"Cryptographic API" in the "Cyptographic" options of the kernel config
menu (I use "make menuconfig"). It is checked. Maybe it has something to
do with.

Fred

Le mer 22/10/2003 à 19:20, Brown, Len a écrit :
> The ACPI patches are against the baseline kernel.
> If they applies to a distro (Red Hat) kernel, then that is mostly luck.
>
> But even if they did, you probably would not want to run that one because
> 20021212 is over 10 months old.
>
> [Indeed, your note tells me that I should delete the old files
> On sourceforge so that nobody else makes the same mistake.]
>
> The oldest baseline kernel we maintain a current ACPI patch against is 2.4.22
>
> Get your 2.4.22 baseline kernel source here:
> http://kernel.org/
>
> And get your ACPI patch against it here:
> http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.4.22/
>
> Other alternatives include replacing RH9 with a pre-release of Red Hat Fedora Core 1, which includes pretty recent ACPI code. http://fedora.redhat.com/ or run SuSE Linux 9.0, which is shipping with very recent ACPI code. Etc.
>
> Cheers,
> -Len
>
>
>
>
> > -----Original Message-----
> > From: acpi-bugzilla-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > [mailto:acpi-bugzilla-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf
> > Of Frederic Dernbach
> > Sent: Wednesday, October 22, 2003 11:52 AM
> > To: acpi-bugzilla-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > Subject: [ACPI-bugzilla] Failed compile RH 9.0 kernel with
> > apci patch applied
> >
> >
> > Hello,
> >
> > I cannot compile RH 9.à kernel after applying the acpi patch.
> >
> > "make bzImage" returns the following error :
> > make[2]: Entering directory `/usr/src/linux-2.4.20-8/net'
> > cc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> > -fno-common
> > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386
> > -nostdinc -iwithprefix include -DKBUILD_BASENAME=socket -c
> > -o socket.o
> > socket.c
> > In file included from
> > /usr/src/linux-2.4.20-8/include/net/tcp.h:1041,
> > from /usr/src/linux-2.4.20-8/include/net/tux.h:38,
> > from socket.c:86:
> > /usr/src/linux-2.4.20-8/include/net/tcp_ecn.h: In function
> > `TCP_ECN_send':
> >
> > /usr/src/linux-2.4.20-8/include/net/tcp_ecn.h:54: union has no
> > member named `af_inet'
> > /usr/src/linux-2.4.20-8/include/net/tcp_ecn.h:61: union has no member
> > named
> > `af_inet'
> > make[2]: *** [socket.o] Error 1
> > make[2]: Leaving directory `/usr/src/linux-2.4.20-8/net'
> > make[1]: *** [first_rule] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.20-8/net'
> > make: *** [_dir_net] Error 2
> >
> >
> >
> > Here is what I do :
> > - I'm not an experimented Linux administrator. I love RedHat and I use
> > it on a desktop computer (private stuff, not professional).
> > - I bought a brand new HP Pavillion ze 5400 and I struggle install RH
> > 9.0 on it. Therefore I follow the instructions given on this Web page:
> > http://home.elp.rr.com/mcghees/ze5470us.htm
> > - I installed RH 9.0 (all packages from the 3 CDs of binary
> > distribution). Therefore, I have the sources of kernel 2.4.20-8 on the
> > machine. I have kudzu and pcmcia not started (as instructed by the
> > WebPage)
> > - I installed the acpi patch (acpi-20021212-2.4.20.diff.gz) as
> > requested.
> > - I configured the kernel compilation options as requested in the Web
> > page ("make xconfig"):
> > a/ I chose "Pentium II / Celeron / Pentium Pro" under the
> > processor type
> > and features button (I have an Intel Celeron 2.2 GHz on the labtop).I
> > selected 'n' n for Toshiba and Dell Laptop support. I made sure Local
> > APIC support on uniprocessors is set to n.
> > b/ Under the General setup button, I selected the ACPI
> > Support button,
> > selected y for everything except Toshiba Laptop Extras.
> > c/ under the FileSystems button, I selected m for NTFS system support
> > - I started compile the kernel. "Make dep" went OK. But "make bzImage"
> > went wrong and produced the compilation error.
> >
> > What is the patch I should usr with a 2.4.20-8 kernel source rpm ?
> >
> > Hope you can help me because this goes beyond my capabilities.
> >
> > Fred
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by OSDN developer relations
> > Here's your chance to show off your extensive product knowledge
> > We want to know what you know. Tell us and you have a chance
> > to win $100
> > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> > _______________________________________________
> > acpi-bugzilla mailing list
> > acpi-bugzilla-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>

-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/