Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144196 - net-misc/vnc-4.1.2 fails compilation
Summary: net-misc/vnc-4.1.2 fails compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 144195 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-17 05:28 UTC by José Romildo Malaquias
Modified: 2006-08-17 07:25 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 José Romildo Malaquias 2006-08-17 05:28:30 UTC
When emerging vnc-4.1.2 on my system, compilation stops with the error messages:

[...]
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -D_PC -D_VM86_LINUX -DHAVE_XORG_CONFIG_H -DXF86PM -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -march=k8 -O2 -pipe -frename-registers -fweb -c xf86int10module.c  -fPIC -DPIC -o .libs/xf86int10module.o
stub.c:11:18: error: xf86.h: No such file or directory
stub.c:12:21: error: xf86str.h: No such file or directory
stub.c:13:25: error: xf86_OSproc.h: No such file or directory
In file included from stub.c:15:
xf86int10.h:14:21: error: xf86Pci.h: No such file or directory
In file included from stub.c:15:
xf86int10.h:44: error: expected specifier-qualifier-list before 'PCITAG'
xf86int10.h:65: error: expected specifier-qualifier-list before 'BusType'
xf86int10.h:184: error: expected ')' before 'pScrn'
xf86int10module.c:11:18: error: xf86.h: No such file or directory
xf86int10module.c:12:21: error: xf86str.h: No such file or directory
xf86int10module.c:13:21: error: xf86Pci.h: No such file or directory
In file included from xf86int10module.c:14:
xf86int10.h:44: error: expected specifier-qualifier-list before 'PCITAG'
xf86int10.h:65: error: expected specifier-qualifier-list before 'BusType'
xf86int10module.c:30: warning: type defaults to 'int' in declaration of 'MODULESETUPPROTO'
xf86int10module.c:30: warning: parameter names (without types) in function declaration
xf86int10module.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int10VersRec'
xf86int10module.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int10ModuleData'
xf86int10module.c: In function 'int10Setup':
xf86int10module.c:51: error: 'FALSE' undeclared (first use in this function)
xf86int10module.c:51: error: (Each undeclared identifier is reported only once
xf86int10module.c:51: error: for each function it appears in.)
xf86int10module.c:54: error: 'TRUE' undeclared (first use in this function)
stub.c: In function 'xf86ExtendedInitInt10':
stub.c:26: error: 'NULL' undeclared (first use in this function)
stub.c:26: error: (Each undeclared identifier is reported only once
stub.c:26: error: for each function it appears in.)
stub.c: In function 'MapCurrentInt10':
stub.c:32: error: 'FALSE' undeclared (first use in this function)
stub.c: In function 'xf86Int10AllocPages':
stub.c:45: error: 'NULL' undeclared (first use in this function)
stub.c: In function 'xf86Int10ExecSetup':
stub.c:57: error: 'FALSE' undeclared (first use in this function)
stub.c:58: warning: control reaches end of non-void function
stub.c: In function 'xf86Int10AllocPages':
stub.c:46: warning: control reaches end of non-void function
stub.c: In function 'MapCurrentInt10':
stub.c:33: warning: control reaches end of non-void function
stub.c: In function 'xf86ExtendedInitInt10':
stub.c:27: warning: control reaches end of non-void function
make[4]: *** [xf86int10module.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [stub.lo] Error 1
make[4]: Leaving directory `/small/tmp/portage/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw/xfree86/int10'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/small/tmp/portage/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/small/tmp/portage/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/small/tmp/portage/vnc-4.1.2/work/vnc-4_1_2-unixsrc/unix/xorg-server-1.1.1/hw'
make: *** [all-recursive] Error 1

!!! ERROR: net-misc/vnc-4.1.2 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  vnc-4.1.2.ebuild, line 142:   Called die


Here is the output of "emerge --info":

Gentoo Base System version 1.12.4
Portage 2.1.1_pre5-r2 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Last Sync: Thu, 17 Aug 2006 09:30:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -frename-registers -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -frename-registers -fweb"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoconfig buildpkg collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.ISO-8859-1"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages.amd64"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/small/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex X Xaw3d a52 aac aalib alsa avi berkdb bitmap-fonts bzip2 cdr cli crypt cups divx4linux djvu dlloader dri dts dvd dvdr dvdread elibc_glibc emacs emboss encode fam fbcon ffmpeg fftw firefox foomaticdb gd gif gnome gpm gtk gtk2 imagemagick imap imlib input_devices_keyboard input_devices_mouse isdnlog javascript jpeg kde kdeenablefinal kernel_linux libcaca linguas_en linguas_pt_BR lirc lirc_devices_pixelview_pro lzw lzw-tiff mad matroska mbox minimal mmx2 mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdf pdflib plotutils png pppd python readline reflection samba sdl session spell spl ssl svg tcpd tetex truetype truetype-fonts type1-fonts usb userland_GNU v4l v4l2 video_cards_nv video_cards_v4l video_cards_vesa vorbis wmf xface xml xml2 xorg xpm xv xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-17 07:01:14 UTC
thanks, fixed
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-17 07:25:20 UTC
*** Bug 144195 has been marked as a duplicate of this bug. ***