Re: Problem compiling programs after upgrade from RedHat 9.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What about when default kernel modules don't compile out of the box? Like in:

install kernel-source RPM
cd /usr/src/linux-2.4.22-1.2115.nptl/
cp configs/kernel-2.4.22-athlon.config .config
make modules
[...]
make[2]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl/drivers/acpi'
gcc32 -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-pr
ototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointe
r -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -inclu
de /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h -Os  -nostdinc 
-iwithprefix include -DKBUILD_BASENAME=ac  -c -o ac.o ac.c
In file included from ac.c:26:
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:60: invalid suffix on i
nteger constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:60: syntax error before
 numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:60: warning: function d
eclaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:61: invalid suffix on i
nteger constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:61: syntax error before
 numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:62: `panic_R_ver_str' d
eclared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:62: warning: function d
eclaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:68: syntax error before
 numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/kernel.h:68: `simple_strtoul_R_v
er_str' declared as function returning a function
[...]

Any trick I am missing?

TIA

Andre

On Wed, 26 Nov 2003 13:47:06 -0500 (EST)
"ne..." <akabi@xxxxxxxxxxxxx> wrote:

> On Nov 26, 2003 at 17:48, Cláudio F. Gil in a soothing rage wrote:
> 
> >> Did you do
> >> #export CC=gcc32
> >> before compiling? kernel needs to 3.2!
> >>
> >> Christoph
> >
> >I'm actually compiling C++. So my problem now is other.
> >I have the interaction
> >---
> >$ export CXX=gcc32
> >$ make
> >(...)
> >gcc32: scoutimagesource.cpp: C++ compiler not installed on this
> >system(...)
> >---
> >
> >Where do I geet g++32 or equivalente? I can't find it and it's not in
> >the Fedora Core 1 Package List.
> What you really need to do is fix your code, and I do not
> mean to demean your code. The compiler is now a whole lot
> less tolerant than it was before.
> 
> N.Emile...
> -- 
> Registered Linux User # 125653 (http://counter.li.org)
> Switch to: http://www.speakeasy.net/refer/190653
> Marriage is an institution in which two undertake to become one, and
> one undertakes to become nothing.
>  13:44:51  up 3 days, 17:46,  4 users,  load average: 0.00, 0.00, 0.00
> 
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


-- 
Andre Oliveira da Costa




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux