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

PAGE_OFFSET_RAW undeclared



Hello there,

sometimes things get worse while screwing around ... 

I'm using Debian 2.2 which was updated from 2.0 by hand 
according to the hints in Documentation/Changes. It serves as 
File/Printserver and Internet-Gateway.

- Kernel 2.2.4 is working well, 2.2.17 fails to boot with "VFS: 
unable to mount root fs" . Maybe someone has a hint, but the 
worst thing is this:

-  I tried to install a 100MBit-Card with the RTL8139-chip on it. The 
source finally compiled, but
"insmod rtl8139" results in
/lib/modules/2.2.4/net/rtl8139.o: unresolved symbol 
pci_drv_unregister
/lib/modules/2.2.4/net/rtl8139.o: unresolved symbol pci_drv_register

Maybe some aditional software isnt't installed ... anyway, it's not 
possible to compile anything anymore now. Whatever happened in 
the meantime, the error-message while compiling is:

/usr/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /usr/src/linux/include/linux/vmalloc.h:7,
                 from /usr/include/asm/io.h:101,
                 from pci-scan.c:65:
/usr/include/asm/pgtable.h:409: `PAGE_OFFSET_RAW' undeclared 
(first use this function)
/usr/include/asm/pgtable.h:409: (Each undeclared identifier is reported 
only once
/usr/include/asm/pgtable.h:409: for each function it appears in.)
/usr/include/asm/pgtable.h: In function `pte_alloc_kernel':
/usr/include/asm/pgtable.h:498: `PAGE_OFFSET_RAW' undeclared 
(first use this function)
/usr/include/asm/pgtable.h: In function `pte_alloc':
/usr/include/asm/pgtable.h:516: `PAGE_OFFSET_RAW' undeclared 
(first use this function)
/usr/include/asm/io.h: In function `virt_to_phys':
In file included from pci-scan.c:65:
/usr/include/asm/io.h:112: `PAGE_OFFSET_RAW' undeclared (first use 
this function)
/usr/include/asm/io.h: In function `phys_to_virt':
/usr/include/asm/io.h:117: `PAGE_OFFSET_RAW' undeclared (first use 
this function)
/usr/include/asm/io.h: In function `check_signature':
/usr/include/asm/io.h:175: `PAGE_OFFSET_RAW' undeclared (first use 
this function)

The files /usr/include/asm/page_offset.h and page.h exist and seem to 
define PAGE_OFFSET_RAW.

I would be very happy if someone told me how to get things to compile 
again.

	Chris





Reply to: