Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103062 - vbetool-0.3 compile problem
Summary: vbetool-0.3 compile problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-08-19 08:27 UTC by Balazs Varkonyi
Modified: 2005-08-20 01:16 UTC (History)
0 users

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


Attachments
Solve pci includes problem (vbetool-0.3-pci.patch,479 bytes, patch)
2005-08-19 08:32 UTC, Balazs Varkonyi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Varkonyi 2005-08-19 08:27:00 UTC
I'm not able to emerge vbetool-0.3 because during the compilation process I
receive some error message. This package is already patched by Gentoo
(vbetool-0.3-pci-compile-fix.patch) but it seems that this patch is working
wrong on my PC.


Reproducible: Always
Steps to Reproduce:
1. emerge vbetool

Actual Results:  
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"vbetool\"
-DVERSION=\"0.3\"  -I. -I.    -g -Wall -Werror -pedantic -g -O2 -MT vbetool.o
-MD -MP -MF ".deps/vbetool.Tpo" \
  -c -o vbetool.o `test -f 'vbetool.c' || echo './'`vbetool.c; \
then mv -f ".deps/vbetool.Tpo" ".deps/vbetool.Po"; \
else rm -f ".deps/vbetool.Tpo"; exit 1; \
fi
In file included from vbetool.c:22:
/usr/include/pci/pci.h:24: error: syntax error before "byte"
/usr/include/pci/pci.h:24: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:25: error: syntax error before "u8"
/usr/include/pci/pci.h:25: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:26: error: syntax error before "word"
/usr/include/pci/pci.h:26: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:27: error: syntax error before "u16"
/usr/include/pci/pci.h:27: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:28: error: syntax error before "u32"
/usr/include/pci/pci.h:28: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:132: error: syntax error before "word"
/usr/include/pci/pci.h:133: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:137: error: syntax error before "vendor_id"
/usr/include/pci/pci.h:137: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:145: error: `access' redeclared as different kind of symbol
/usr/include/unistd.h:256: error: previous declaration of `access'
/usr/include/pci/pci.h:147: error: syntax error before '*' token
/usr/include/pci/pci.h:147: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:151: error: syntax error before '}' token
/usr/include/pci/pci.h:156: error: syntax error before "pci_read_byte"
/usr/include/pci/pci.h:156: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:157: error: syntax error before "pci_read_word"
/usr/include/pci/pci.h:157: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:158: error: syntax error before "pci_read_long"
/usr/include/pci/pci.h:158: error: ISO C forbids data definition with no type or
storage class
/usr/include/pci/pci.h:159: error: syntax error before "byte"
/usr/include/pci/pci.h:160: error: syntax error before "byte"
/usr/include/pci/pci.h:161: error: syntax error before "word"
/usr/include/pci/pci.h:162: error: syntax error before "u32"
/usr/include/pci/pci.h:163: error: syntax error before "byte"
/usr/include/pci/pci.h:174: error: syntax error before "byte"
/usr/include/pci/pci.h:194: error: syntax error before "u32"
vbetool.c: In function `do_post':
vbetool.c:188: error: dereferencing pointer to incomplete type
vbetool.c:192: error: dereferencing pointer to incomplete type
vbetool.c:192: error: dereferencing pointer to incomplete type
vbetool.c:193: error: dereferencing pointer to incomplete type
make: *** [vbetool.o] Error 1


Expected Results:  
It should be emerged without any error message!

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Mobile AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss
encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib
ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses
nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline
samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Balazs Varkonyi 2005-08-19 08:32:06 UTC
Created attachment 66322 [details, diff]
Solve pci includes problem

This patch solve the vbetool-0.3 compilation problem. I'm using this patch
insted of the one which is already in portage.
vbetool-0.3-pci-compile-fix.patch doesn't solve the previously mentoined issue
on my PC.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-08-20 01:16:55 UTC
in cvs now.