PROBLEM:

From: James Drabb (JDrabb@cfl.rr.com)
Date: Wed Jun 12 2002 - 18:48:42 EST


Problem compiling linux-2.5.21
Below is the output when trying to compile kernel 2.5.21

gcc -Wp,-MD,.isapnp_proc.o.d -D__KERNEL__ -I/usr/src/linux-2.5.21/include
  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
  -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
  -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=isapnp_proc
  -c -o isapnp_proc.o isapnp_proc.c
gcc -Wp,-MD,.pnpbios_core.o.d -D__KERNEL__ -I/usr/src/linux-2.5.21/include
  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
  -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
  -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=pnpbios_core
  -DEXPORT_SYMTAB -c -o pnpbios_core.o pnpbios_core.c
gcc -Wp,-MD,.pnpbios_proc.o.d -D__KERNEL__ -I/usr/src/linux-2.5.21/include
  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
  -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
  -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=pnpbios_proc
  -c -o pnpbios_proc.o pnpbios_proc.c
pnpbios_proc.c:193: parse error before `pnpbios_proc_init'
pnpbios_proc.c:194: warning: return-type defaults to `int'
pnpbios_proc.c:248: parse error before `pnpbios_proc_exit'
pnpbios_proc.c:249: warning: return-type defaults to `int'
pnpbios_proc.c:249: conflicting types for `pnpbios_proc_exit'
/usr/src/linux-2.5.21/include/linux/pnpbios.h:147: previous declaration of `pnpbios_proc_exit'
pnpbios_proc.c: In function `pnpbios_proc_exit':
pnpbios_proc.c:253: warning: `return' with no value, in function returning non-void
pnpbios_proc.c:269: warning: `return' with no value, in function returning non-void
make[2]: *** [pnpbios_proc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.21/drivers/pnp'
make[1]: *** [_subdir_pnp] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.21/drivers'
make: *** [drivers] Error 2

root# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)

root# sh scripts/ver_linux
if some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux james 2.4.19-pre9 #2 Sun Jun 9 20:19:09 EDT 2002 i686 unknown
Gnu C 2.95.3
Gnu make 3.79.1
util-linux 2.11o
mount 2.11o
modutils 2.4.15
e2fsprogs 1.27
Linux C Library 2.2.5
Dynamic linker (ldd) 2.2.5
Procps 2.0.7
Net-tools 1.60
Kbd 1.06
Sh-utils 2.0
Modules Loaded ipt_state ip_conntrack iptable_filter ip_tables analog
                       joydev es1370 tulip vfat fat

root# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 801.433
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
                  pse36 mmx fxsr sse
bogomips : 1599.07

root# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0200-0207 : es1370
0376-0376 : ide1
03c0-03df : vesafb
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0540-054f : Intel Corp. 82801AA SMBus
0cf8-0cff : PCI conf1
c000-cfff : PCI Bus #01
c800-c8ff : Lite-On Communications Inc LNE100TX [Linksys EtherFast 10/100]
c800-c8ff : tulip
cc00-cc3f : Ensoniq ES1370 [AudioPCI]
cc00-cc3f : es1370
dc00-dc1f : Intel Corp. 82801AA USB
dc00-dc1f : usb-uhci
ffa0-ffaf : Intel Corp. 82801AA IDE
ffa0-ffa7 : ide0
ffa8-ffaf : ide1

root# cat /proc/iomem
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-0fedffff : System RAM
00100000-00248fed : Kernel code
00248fee-002aa45f : Kernel data
0fee0000-0feeffff : ACPI Tables
0fef0000-0fefffff : ACPI Non-volatile Storage
0ff00000-0fffffff : reserved
e3b00000-e5bfffff : PCI Bus #01
e4000000-e4ffffff : nVidia Corporation Riva TnT [NV04]
e4000000-e43fffff : vesafb
e8000000-ebffffff : Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller]
edd00000-efdfffff : PCI Bus #01
ee000000-eeffffff : nVidia Corporation Riva TnT [NV04]
efdeff00-efdeffff : Lite-On Communications Inc LNE100TX [Linksys EtherFast 10/100]
efdeff00-efdeffff : tulip
eff80000-efffffff : Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller]
fff80000-ffffffff : reserved

-- 
James Drabb JR - Programmer Analyst - Orlando, FL - JDrabb@cfl.rr.com
---------------------------------------------------------------------


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:27 EST