Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 156276

Summary: sys-kernel/linux-headers-2.6.18 missing some headers.
Product: Gentoo Linux Reporter: Shunichi Fuji <palglowr>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 159304    

Description Shunichi Fuji 2006-11-26 00:29:36 UTC
xosview compile failing cause missing header file.

i686-pc-linux-gnu-g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -O4 -I. -DXOSVIEW_VERSION=\"1.8.3\" -I/var/tmp/portage/x11-misc/xosview-1.8.3/work/xosview-1.8.3 -I/var/tmp/portage/x11-misc/xosview-1.8.3/work/xosview-1.8.3/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DHAVE_XPM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -DHAVE_USLEEP=1  -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -O4 -I. -DXOSVIEW_VERSION=\"1.8.3\" -I/var/tmp/portage/x11-misc/xosview-1.8.3/work/xosview-1.8.3 -I/var/tmp/portage/x11-misc/xosview-1.8.3/work/xosview-1.8.3/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DHAVE_XPM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -DHAVE_USLEEP=1  -I..  -c serialmeter.cc -o serialmeter.o
serialmeter.cc:48:30: error: linux/serial_reg.h: No such file or directory
serialmeter.cc: In member function 'virtual void SerialMeter::checkResources()':
serialmeter.cc:71: error: 'UART_LSR' was not declared in this scope
serialmeter.cc:71: error: 'UART_MSR' was not declared in this scope
serialmeter.cc: In member function 'void SerialMeter::getserial()':
serialmeter.cc:89: error: 'UART_LSR' was not declared in this scope
serialmeter.cc:90: error: 'UART_MSR' was not declared in this scope
make[1]: *** [serialmeter.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xosview-1.8.3/work/xosview-1.8.3/linux'
make: *** [meterlib] Error 2


also app-i18n/jfbterm compile failing cause missing header file.

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT fbdpsp.o -MD -MP -MF .deps/fbdpsp.Tpo -c -o fbdpsp.o fbdpsp.c
fbdpsp.c:830:20: error: asm/io.h: No such file or directory
fbdpsp.c:831:24: error: asm/system.h: No such file or directory
make[1]: *** [fbdpsp.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/jfbterm-0.4.7-r1/work/jfbterm-0.4.7'
make: *** [all] Error 2
Comment 1 SpanKY gentoo-dev 2006-11-26 05:31:40 UTC
no, those packages are broken

please file a new bug report for each broken package you encounter
Comment 2 Shunichi Fuji 2006-11-26 07:41:05 UTC
linux/serial_reg.h,asm/io.h,asm/system.h are coming from linux-headers before linux-headers-2.6.17.

but, this version does not install these headers.

anyway i reported by each packages. (156304,156306)
Comment 3 SpanKY gentoo-dev 2006-11-26 07:50:56 UTC
those headers are purposefully not installed ... packages that use them are broken