Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5507 - Xosview 1.8.0 will stop compiling at serialmeter.cc (ppc)
Summary: Xosview 1.8.0 will stop compiling at serialmeter.cc (ppc)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Owen Stampflee (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-24 09:50 UTC by Christoph Borsbach
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Borsbach 2002-07-24 09:50:32 UTC
Hi,
xosview will stop compiling due to a bug or something in file serialmeter.cc
with gcc 2.95.4 on ppc. The Errors start with "serialmeter.cc:35 sys/io.h: No
such file or directory". 

Greets,
Chris Borsbach [Dr_Jekyll]

--
Error Message:
tmp/portage/xosview-1.8.0/work/xosview-1.8.0/linux  -DHAVE_BOOL=1
- -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_XPM=1 -DGNULIBC=1
- -DUSESYSCALLS=1 -DHAVE_USLEEP=1  -I.. -c serialmeter.cc -o serialmeter.o
serialmeter.cc:35: sys/io.h: No such file or directory
serialmeter.cc:37: sys/perm.h: No such file or directory
serialmeter.cc: In method `bool SerialMeter::getport(short unsigned int)':
serialmeter.cc:76: implicit declaration of function `int ioperm(...)'
serialmeter.cc: In method `void SerialMeter::getserial()':
serialmeter.cc:81: implicit declaration of function `int inb(...)'
make[1]: *** [serialmeter.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/xosview-1.8.0/work/xosview-1.8.0/linux'
make: *** [meterlib] Error 2
cd ./linux && make
make[1]: Entering directory
`/var/tmp/portage/xosview-1.8.0/work/xosview-1.8.0/linux'
c++  -O2 -pipe -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring   -O2 -pipe
- -mcpu=750 -mpowerpc-gfxopt -mmultiple -mstring  -Wall -O4 -pipe
- -I/usr/X11R6/include -DXOSVIEW_VERSION=\"1.8.0\"
- -I/var/tmp/portage/xosview-1.8.0/work/xosview-1.8.0
- -I/var/tmp/portage/xosview-1.8.0/work/xosview-1.8.0/linux  -DHAVE_BOOL=1
- -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_XPM=1 -DGNULIBC=1
- -DUSESYSCALLS=1 -DHAVE_USLEEP=1   -O2 -pipe -mcpu=750 -mpowerpc-gfxopt
- -mmultiple -mstring  -Wall -O4 -pipe -I/usr/X11R6/include
- -DXOSVIEW_VERSION=\"1.8.0\"
- -I/var/tmp/portage/xosview-1.8.0/work/xosview-1.8.0
- -I/var/tmp/portage/xosview-1.8.0/work/xosview-1.8.0/linux  -DHAVE_BOOL=1
- -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DHAVE_XPM=1 -DGNULIBC=1
- -DUSESYSCALLS=1 -DHAVE_USLEEP=1  -I.. -c serialmeter.cc -o serialmeter.o
serialmeter.cc:35: sys/io.h: No such file or directory
serialmeter.cc:37: sys/perm.h: No such file or directory
serialmeter.cc: In method `bool SerialMeter::getport(short unsigned int)':
serialmeter.cc:76: implicit declaration of function `int ioperm(...)'
serialmeter.cc: In method `void SerialMeter::getserial()':
serialmeter.cc:81: implicit declaration of function `int inb(...)'
make[1]: *** [serialmeter.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xosview-1.8.0/work/xosview-1.8.0/linux'
make: *** [meterlib] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -143, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/app-misc/xosview/xosview-1.8.0.ebuild .
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-07-24 11:14:33 UTC
There's a ppc patch at 
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/xosview/

I'm about to leave for vacation, so I'm leaving this fix for
a member of the ppc team.
Comment 2 Mark Guertin 2002-07-24 19:35:35 UTC
Xosview 1.8.0 patched and comitted, working on ppc and x86 now.  Ended up adding
an additional patch (which I also submitted upstream).