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

Re: Bug#61879: xosview does not build from source



reassign 61879 libc6-dev
merge 61879 57914
severity 57914 important
stop

This is a known problem with libc6-dev.  All programs that use
sys/io.h will break this way.  The interim solution is to replace all
of the "::" lines in io.h with ": :".

Joel, I've merged this in with yours and set it important.  I'm not
sure if this is going to be a problem with frozen or not (I see the
report has been open since 2.1.3-2), but it's going to cause pretty
widespread breakage and we *really* shouldn't be shipping a libc6-dev
broken this way.  It's only a 10-second search-and-replace...


> g++  -Wall -O4 -pipe -I/usr/X11R6/include -DXOSVIEW_VERSION=\"1.7.3\" -I/home/weasel/tmp/xos/xosview-1.7.3 -I/home/weasel/tmp/xos/xosview-1.7.3/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
> In file included from serialmeter.cc:34:
> /usr/include/sys/io.h: In function `void outb(unsigned char, short unsigned int)':
> /usr/include/sys/io.h:98: parse error before `::'
> /usr/include/sys/io.h: In function `void outb_p(unsigned char, short unsigned int)':
> /usr/include/sys/io.h:104: parse error before `::'
> /usr/include/sys/io.h: In function `void outw(short unsigned int, short unsigned int)':
> /usr/include/sys/io.h:111: parse error before `::'
> /usr/include/sys/io.h: In function `void outw_p(short unsigned int, short unsigned int)':
> /usr/include/sys/io.h:118: parse error before `::'
> /usr/include/sys/io.h: In function `void outl(unsigned int, short unsigned int)':
> /usr/include/sys/io.h:125: parse error before `::'
> /usr/include/sys/io.h: In function `void outl_p(unsigned int, short unsigned int)':
> /usr/include/sys/io.h:131: parse error before `::'
> make[2]: *** [serialmeter.o] Error 1
> make[2]: Leaving directory `/home/weasel/tmp/xos/xosview-1.7.3/linux'

-- 
Zed Pobre <zed@debian.org> a.k.a. Zed Pobre <zed@resonant.org>
PGP key and fingerprint available on finger; encrypted mail welcomed.

Attachment: pgpDkYJUxqMyV.pgp
Description: PGP signature


Reply to: