compile error in 2.4.0

2001-01-28 Thread Alan Chandler

I'm probably doing something silly, but I have just tried to rebuild
the 2.4.0 kernel.  I changed a few config things and did

make dep clean bzlilo modules modules_install

and the following appeared.  I did a brief look around for the
declaration of skb_datarefp but couldn't find it. 


make[3]: Entering directory `/usr/src/linux/net/core'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -
fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -c
-o sock.o sock.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -
fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -c
-o skbuff.o skbuff.c
skbuff.c: In function `alloc_skb':
skbuff.c:208: warning: implicit declaration of function `skb_datarefp'
skbuff.c:208: invalid type argument of `->'
skbuff.c: In function `kfree_skbmem':
skbuff.c:257: warning: passing arg 1 of `atomic_dec_and_test' makes
pointer from integer witho
ut a cast
skbuff.c: In function `skb_clone':
skbuff.c:321: warning: passing arg 1 of `atomic_inc' makes pointer
from integer without a cast
make[3]: *** [skbuff.o] Error 1
make[3]: Leaving directory `/usr/src/linux/net/core'
Alan

[EMAIL PROTECTED]
http://www.chandler.u-net.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



compile error in 2.4.0

2001-01-28 Thread Alan Chandler

I'm probably doing something silly, but I have just tried to rebuild
the 2.4.0 kernel.  I changed a few config things and did

make dep clean bzlilo modules modules_install

and the following appeared.  I did a brief look around for the
declaration of skb_datarefp but couldn't find it. 


make[3]: Entering directory `/usr/src/linux/net/core'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -
fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -c
-o sock.o sock.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -
fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -c
-o skbuff.o skbuff.c
skbuff.c: In function `alloc_skb':
skbuff.c:208: warning: implicit declaration of function `skb_datarefp'
skbuff.c:208: invalid type argument of `-'
skbuff.c: In function `kfree_skbmem':
skbuff.c:257: warning: passing arg 1 of `atomic_dec_and_test' makes
pointer from integer witho
ut a cast
skbuff.c: In function `skb_clone':
skbuff.c:321: warning: passing arg 1 of `atomic_inc' makes pointer
from integer without a cast
make[3]: *** [skbuff.o] Error 1
make[3]: Leaving directory `/usr/src/linux/net/core'
Alan

[EMAIL PROTECTED]
http://www.chandler.u-net.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



compile error on 2.4.0

2001-01-05 Thread Christian Groessler

Hi,

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe  -march=i586 -DMODULE -DMODVERSIONS 
-include /usr/src/linux-2.4.0/include/linux/modversions.h   -c -o r128_cce.o r128_cce.c
r128_cce.c: In function `r128_cce_init_ring_buffer':
r128_cce.c:339: structure has no member named `agp'
r128_cce.c:333: warning: `ring_start' might be used uninitialized in this function
r128_cce.c: In function `r128_cce_packet':
r128_cce.c:1023: warning: unused variable `size'
r128_cce.c:1021: warning: unused variable `buffer'
r128_cce.c:1019: warning: unused variable `dev_priv'
make[3]: *** [r128_cce.o] Error 1


.config file on request...

regards,
chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



compile error on 2.4.0

2001-01-05 Thread Christian Groessler

Hi,

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe  -march=i586 -DMODULE -DMODVERSIONS 
-include /usr/src/linux-2.4.0/include/linux/modversions.h   -c -o r128_cce.o r128_cce.c
r128_cce.c: In function `r128_cce_init_ring_buffer':
r128_cce.c:339: structure has no member named `agp'
r128_cce.c:333: warning: `ring_start' might be used uninitialized in this function
r128_cce.c: In function `r128_cce_packet':
r128_cce.c:1023: warning: unused variable `size'
r128_cce.c:1021: warning: unused variable `buffer'
r128_cce.c:1019: warning: unused variable `dev_priv'
make[3]: *** [r128_cce.o] Error 1


.config file on request...

regards,
chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Sparc64 compile error for 2.4.0-prerelease

2001-01-01 Thread David S. Miller

   Date:Tue, 02 Jan 2001 11:57:13 +0800
   From: Tommy Wu <[EMAIL PROTECTED]>

 This patch still has problem for define 'HZ' in
 'asm-sparc64/delay.h'.  It defined in linux/param.h.

I've been doing only SMP builds lately which is why I didn't
catch this, thanks a lot.

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Sparc64 compile error for 2.4.0-prerelease

2001-01-01 Thread David S. Miller


See testing/prerelease-diff

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Sparc64 compile error for 2.4.0-prerelease

2001-01-01 Thread Tom Vier

same on alpha

On Tue, Jan 02, 2001 at 09:36:09AM +0800, Tommy Wu wrote:
> panic.c: In function `panic':
> panic.c:80: `loops_per_sec' undeclared (first use in this function)
> panic.c:80: (Each undeclared identifier is reported only once
> panic.c:80: for each function it appears in.)

-- 
Tom Vier <[EMAIL PROTECTED]>
DSA Key id 0x27371A2C
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Sparc64 compile error for 2.4.0-prerelease

2001-01-01 Thread Tommy Wu

make[2]: Entering directory `/usr/src/kernel-source-2.4.0-prerelease/kernel'
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototype
s -O2 -fomit-frame-pointer -fno-strict-aliasing -m64 -pipe -mno-fpu -mcpu=ultras
parc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare
-Wa,--undeclared-regs-c -o panic.o panic.c
panic.c: In function `panic':
panic.c:80: `loops_per_sec' undeclared (first use in this function)
panic.c:80: (Each undeclared identifier is reported only once
panic.c:80: for each function it appears in.)
make[2]: *** [panic.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.0-prerelease/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.0-prerelease/kernel'
make: *** [_dir_kernel] Error 2


-- 

Tommy Wu
mailto:[EMAIL PROTECTED]
http://www.teatime.com.tw/~tommy
ICQ: 22766091
Mobile Phone: +886 936 909490
TeaTime BBS +886 2 31515964 24Hrs V.Everything

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Sparc64 compile error for 2.4.0-prerelease

2001-01-01 Thread Tom Vier

same on alpha

On Tue, Jan 02, 2001 at 09:36:09AM +0800, Tommy Wu wrote:
 panic.c: In function `panic':
 panic.c:80: `loops_per_sec' undeclared (first use in this function)
 panic.c:80: (Each undeclared identifier is reported only once
 panic.c:80: for each function it appears in.)

-- 
Tom Vier [EMAIL PROTECTED]
DSA Key id 0x27371A2C
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Sparc64 compile error for 2.4.0-prerelease

2001-01-01 Thread David S. Miller


See testing/prerelease-diff

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Sparc64 compile error for 2.4.0-prerelease

2001-01-01 Thread David S. Miller

   Date:Tue, 02 Jan 2001 11:57:13 +0800
   From: Tommy Wu [EMAIL PROTECTED]

 This patch still has problem for define 'HZ' in
 'asm-sparc64/delay.h'.  It defined in linux/param.h.

I've been doing only SMP builds lately which is why I didn't
catch this, thanks a lot.

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Compile error with 2.4.0-test11-pre3 PCMCIA

2000-11-12 Thread Keith Owens

On Sun, 12 Nov 2000 23:41:20 +0100 (MET), 
"Peter H. Ruegg" <[EMAIL PROTECTED]> wrote:
>I just tried to compile my first 2.4-Kernel. While dep, bzImage and
>modules all seemed to work well, I've got the following errors while
>trying to make modules_install:
>
>depmod: *** Unresolved symbols in /lib/modules/2.4.0-test11-pre3/pcmcia/serial_cs.o
>depmod:mod_timer_R1f13d309

Probably old version of modutils.  See Documentation/Changes.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Compile error with 2.4.0-test11-pre3 PCMCIA

2000-11-12 Thread Frank Davis

Hello,
  What are your modutils and pcmcia versions?
Regards,
Frank

--On Sunday, November 12, 2000 11:41 PM +0100 "Peter H. Ruegg" 
<[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello there,
> 
> I just tried to compile my first 2.4-Kernel. While dep, bzImage and
> modules all seemed to work well, I've got the following errors while
> trying to make modules_install:
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Compile error with 2.4.0-test11-pre3 PCMCIA

2000-11-12 Thread Peter H. Ruegg

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello there,

I just tried to compile my first 2.4-Kernel. While dep, bzImage and
modules all seemed to work well, I've got the following errors while
trying to make modules_install:


depmod: *** Unresolved symbols in /lib/modules/2.4.0-test11-pre3/pcmcia/serial_cs.o
depmod: mod_timer_R1f13d309
depmod: kmalloc_R93d4cfe6
depmod: sprintf_R3c2c5af5
depmod: jiffies_R0da02d67
depmod: CardServices_Re4eef0a4
depmod: register_pccard_driver_R583d4ed2
depmod: del_timer_Rfc62f16d
depmod: unregister_pccard_driver_Rdb348cd2
depmod: unregister_serial_Rce8a3e65
depmod: kfree_R037a0cba
depmod: printk_R1b7d4074
depmod: register_serial_Ra18dc2b1
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test11-pre3/pcmcia/serial_cb.o
depmod: register_driver_Ra8664c22
depmod: schedule_timeout_R17d59d01
depmod: unregister_driver_R9e54a5d8
depmod: kmalloc_R93d4cfe6
depmod: sprintf_R3c2c5af5
depmod: pci_enable_device_Re59f0d56
depmod: unregister_serial_Rce8a3e65
depmod: kfree_R037a0cba
depmod: printk_R1b7d4074
depmod: pci_find_slot_R0517f8e1
depmod: register_serial_Ra18dc2b1
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test11-pre3/pcmcia/xirc2ps_cs.o
depmod: __ioremap_R9eac042a
depmod: schedule_timeout_R17d59d01
depmod: mod_timer_R1f13d309
depmod: __netdev_watchdog_up_R1a436c7f
depmod: __const_udelay_Reae3dfd6
depmod: skb_over_panic_R59ba9d11
depmod: kmalloc_R93d4cfe6
depmod: ether_setup_R734a43c2
depmod: __io_virt_debug_R2fd62b99
depmod: __kfree_skb_Recf10a12
depmod: softnet_data_R69e82b04
depmod: jiffies_R0da02d67
depmod: eth_type_trans_R553a1497
depmod: CardServices_Re4eef0a4
depmod: register_pccard_driver_R583d4ed2
depmod: del_timer_Rfc62f16d
depmod: register_netdev_R111267c0
depmod: unregister_netdev_Rad27d24b
depmod: netif_rx_R6efa67fa
depmod: unregister_pccard_driver_Rdb348cd2
depmod: kfree_R037a0cba
depmod: irq_stat_Rc0ba6f96
depmod: printk_R1b7d4074
depmod: iounmap_R5fb196d4
depmod: alloc_skb_R81bb25e5



Attached is my .config - hope that helps. If I'm doing anything wrong,
please tell me so. If any additional information is needed, please contact
me by removing the "+nospam" from my address.

Greets

Peter H. Ruegg



CONFIG_X86=y
CONFIG_ISA=y
CONFIG_UID16=y
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_M686=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_NOHIGHMEM=y
CONFIG_MTRR=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
CONFIG_HOTPLUG=y
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PM=y
CONFIG_ACPI=y
CONFIG_APM=y
CONFIG_APM_IGNORE_USER_SUSPEND=y
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PNP=y
CONFIG_ISAPNP=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
CONFIG_NETFILTER=y
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK=y
CONFIG_NET_IPIP=m
CONFIG_INET_ECN=y
CONFIG_SYN_COOKIES=y
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_COMPAT_IPCHAINS=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_PIIX_TUNING=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_PLIP=m
CONFIG_PPP=m
CONFIG_PPP_ASYNC=m
CONFIG_PPP_DEFLATE=m

Compile error with 2.4.0-test11-pre3 PCMCIA

2000-11-12 Thread Peter H. Ruegg

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello there,

I just tried to compile my first 2.4-Kernel. While dep, bzImage and
modules all seemed to work well, I've got the following errors while
trying to make modules_install:


depmod: *** Unresolved symbols in /lib/modules/2.4.0-test11-pre3/pcmcia/serial_cs.o
depmod: mod_timer_R1f13d309
depmod: kmalloc_R93d4cfe6
depmod: sprintf_R3c2c5af5
depmod: jiffies_R0da02d67
depmod: CardServices_Re4eef0a4
depmod: register_pccard_driver_R583d4ed2
depmod: del_timer_Rfc62f16d
depmod: unregister_pccard_driver_Rdb348cd2
depmod: unregister_serial_Rce8a3e65
depmod: kfree_R037a0cba
depmod: printk_R1b7d4074
depmod: register_serial_Ra18dc2b1
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test11-pre3/pcmcia/serial_cb.o
depmod: register_driver_Ra8664c22
depmod: schedule_timeout_R17d59d01
depmod: unregister_driver_R9e54a5d8
depmod: kmalloc_R93d4cfe6
depmod: sprintf_R3c2c5af5
depmod: pci_enable_device_Re59f0d56
depmod: unregister_serial_Rce8a3e65
depmod: kfree_R037a0cba
depmod: printk_R1b7d4074
depmod: pci_find_slot_R0517f8e1
depmod: register_serial_Ra18dc2b1
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test11-pre3/pcmcia/xirc2ps_cs.o
depmod: __ioremap_R9eac042a
depmod: schedule_timeout_R17d59d01
depmod: mod_timer_R1f13d309
depmod: __netdev_watchdog_up_R1a436c7f
depmod: __const_udelay_Reae3dfd6
depmod: skb_over_panic_R59ba9d11
depmod: kmalloc_R93d4cfe6
depmod: ether_setup_R734a43c2
depmod: __io_virt_debug_R2fd62b99
depmod: __kfree_skb_Recf10a12
depmod: softnet_data_R69e82b04
depmod: jiffies_R0da02d67
depmod: eth_type_trans_R553a1497
depmod: CardServices_Re4eef0a4
depmod: register_pccard_driver_R583d4ed2
depmod: del_timer_Rfc62f16d
depmod: register_netdev_R111267c0
depmod: unregister_netdev_Rad27d24b
depmod: netif_rx_R6efa67fa
depmod: unregister_pccard_driver_Rdb348cd2
depmod: kfree_R037a0cba
depmod: irq_stat_Rc0ba6f96
depmod: printk_R1b7d4074
depmod: iounmap_R5fb196d4
depmod: alloc_skb_R81bb25e5



Attached is my .config - hope that helps. If I'm doing anything wrong,
please tell me so. If any additional information is needed, please contact
me by removing the "+nospam" from my address.

Greets

Peter H. Ruegg



CONFIG_X86=y
CONFIG_ISA=y
CONFIG_UID16=y
CONFIG_EXPERIMENTAL=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_M686=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_NOHIGHMEM=y
CONFIG_MTRR=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
CONFIG_HOTPLUG=y
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PM=y
CONFIG_ACPI=y
CONFIG_APM=y
CONFIG_APM_IGNORE_USER_SUSPEND=y
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PNP=y
CONFIG_ISAPNP=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
CONFIG_NETFILTER=y
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK=y
CONFIG_NET_IPIP=m
CONFIG_INET_ECN=y
CONFIG_SYN_COOKIES=y
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_COMPAT_IPCHAINS=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_PIIX_TUNING=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_PLIP=m
CONFIG_PPP=m
CONFIG_PPP_ASYNC=m
CONFIG_PPP_DEFLATE=m

Re: Compile error with 2.4.0-test11-pre3 PCMCIA

2000-11-12 Thread Frank Davis

Hello,
  What are your modutils and pcmcia versions?
Regards,
Frank

--On Sunday, November 12, 2000 11:41 PM +0100 "Peter H. Ruegg" 
[EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello there,
 
 I just tried to compile my first 2.4-Kernel. While dep, bzImage and
 modules all seemed to work well, I've got the following errors while
 trying to make modules_install:



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Compile error with 2.4.0-test11-pre3 PCMCIA

2000-11-12 Thread Keith Owens

On Sun, 12 Nov 2000 23:41:20 +0100 (MET), 
"Peter H. Ruegg" [EMAIL PROTECTED] wrote:
I just tried to compile my first 2.4-Kernel. While dep, bzImage and
modules all seemed to work well, I've got the following errors while
trying to make modules_install:

depmod: *** Unresolved symbols in /lib/modules/2.4.0-test11-pre3/pcmcia/serial_cs.o
depmod:mod_timer_R1f13d309

Probably old version of modutils.  See Documentation/Changes.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: compile error in 2.4.0-test10-pre3

2000-10-17 Thread Igmar Palsenberg


> [root@wr5z linux]# make bzImage
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
> scripts/split-include scripts/split-include.c
> In file included from /usr/include/errno.h:36,
>  from scripts/split-include.c:26:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
  
  
  You're missing the link to /usr/src/linux from /usr/include

  In my case, /usr/include/linux is linked to /usr/src/linux/include/linux
  Same goes for /usr/include/asm, which points to 
  /usr/src/linux/include/asm

> make: *** [scripts/split-include] Error 1


  Igmar 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: compile error in 2.4.0-test10-pre3

2000-10-17 Thread Keith Owens

On Tue, 17 Oct 2000 00:45:13 -0500 (CDT), 
Thomas Molina <[EMAIL PROTECTED]> wrote:
>I patched from 2.4.0-test9 to 2.4.0-test10-pre3 successfully.  I then
>did make mrproper, make oldconfig, make dep successfully.  make bzImage
>resulted in the following error:
>
>[root@wr5z linux]# make bzImage
>gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
>scripts/split-include scripts/split-include.c
>In file included from /usr/include/errno.h:36,
> from scripts/split-include.c:26:
>/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
>make: *** [scripts/split-include] Error 1

/usr/include/bits/errno.h assumes that /usr/include/linux/errno.h
always exists.  Linus says that /usr/include/linux should contain
constant versions of the kernel headers that reflect the kernel used to
build glibc.  However on many distributions, /usr/include/linux is a
symlink to some directory under /usr/src, which is fine until that
directory changes or goes away.  The same problem applies to
/usr/include/asm.

You probably do not have a /usr/src/linux directory any more.
Reinstall the kernel headers that came with your distribution then ask
the distributor why they ship in that format.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: compile error in 2.4.0-test10-pre3

2000-10-17 Thread Thomas Molina

On Tue, 17 Oct 2000, Thomas Molina wrote:

> I patched from 2.4.0-test9 to 2.4.0-test10-pre3 successfully.  I then
> did make mrproper, make oldconfig, make dep successfully.  make bzImage
> resulted in the following error:

Would someone please hand me one of those brown paper bags.

Note to self:  Next time get some sleep before doing something stupid
late at night and announcing same before everyone.  I was confirming my
problem about two minutes after sending that message, just before David
Miller was kind enough to let me know what I was doing wrong.

This was my first time doing a compile in a directory other than
/usr/src/linux per Linus' suggestion.  Specifically, /usr/include/asm
and /usr/include/linux were stale symlinks.  Pointing them to the new
kernel source tree allowed the compile to proceed without incident.

My hazy recollection told me Linus had said those symlinks shouldn't
even be needed or should point to the "default" source tree against
which glibc was compiled.  I guess I was wrong.

Hopefully this gets out before I get too many repeats of David's
message.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



compile error in 2.4.0-test10-pre3

2000-10-16 Thread Thomas Molina

I patched from 2.4.0-test9 to 2.4.0-test10-pre3 successfully.  I then
did make mrproper, make oldconfig, make dep successfully.  make bzImage
resulted in the following error:

[root@wr5z linux]# make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
 from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [scripts/split-include] Error 1

Additional data:

[root@wr5z linux]# sh scripts/ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux wr5z 2.4.0-test9-pre2 #1 Sun Sep 17 21:35:55 CDT 2000 i586 unknown
Kernel modules 2.3.16
Gnu C  egcs-2.91.66
Gnu Make   3.78.1
Binutils   2.9.5.0.22
Linux C Library2.1.3
Dynamic linker ldd (GNU libc) 2.1.3
Procps 2.0.6
Mount  2.10f
Net-tools  1.54
Console-tools  0.3.3
Sh-utils   2.0
Modules Loaded opl3

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_ISA=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_M686FXSR is not set
CONFIG_MK6=y
# CONFIG_MK7 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_L1_CACHE_BYTES=32
CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_TSC=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_TOSHIBA is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
# CONFIG_X86_UP_IOAPIC is not set

#
# General setup
#
CONFIG_NET=y
# CONFIG_VISWS is not set
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
# CONFIG_MCA is not set
# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_PM=y
# CONFIG_ACPI is not set
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
CONFIG_APM_REAL_MODE_POWER_OFF=y

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_INITRD is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_BLK_DEV_LVM is not set
# CONFIG_LVM_PROC_FS is not set

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK_DEV=y
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
CONFIG_SYN_COOKIES=y

#
#   IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=y
# CONFIG_IP_NF_MATCH_LIMIT is not set
# CONFIG_IP_NF_MATCH_MAC is not set
# CONFIG_IP_NF_MATCH_MARK is not set
# CONFIG_IP_NF_MATCH_MULTIPORT is not set
# CONFIG_IP_NF_MATCH_TOS is not set
CONFIG_IP_NF_MATCH_STATE=y
# CONFIG_IP_NF_MATCH_UNCLEAN 

smp_num_cpus undeclared compile error in 2.4.0-test8

2000-09-16 Thread Hao Xu

Hi,

I found a bug on the 2.4.0-test8 release:

I was not able to build linux-2.4.0-test8 on my dual PIII box if I did NOT choose the 
"smp support".

Here is the compile error message:

/usr/src/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared (first use in 
this function)
/usr/src/linux/include/linux/kernel_stat.h:48: (Each undeclared identifier is reported 
only once
/usr/src/linux/include/linux/kernel_stat.h:48: for each function it appears in.)

I think the simple fix is to check "#ifdef CONFIG_SMP" in this kstat_irq(int) routine.

I could compile the code just fine if I choose the "smp support".

Best regards,

Hao Xu
-
Email: [EMAIL PROTECTED]
Xu Hao homepage: http://www.cs.pdx.edu/~xuhao
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/