# emerge vnc
Calculating dependencies ...done!
>>> emerge net-misc/vnc-3.3.3-r2 to /
>>> md5 icon_wink.gif vnc-3.3.3r2_unixsrc.tgz
>>> Unpacking source...
>>> Unpacking vnc-3.3.3r2_unixsrc.tgz
>>> Source unpacked.
make: Entering directory `/var/tmp/portage/vnc-3.3.3-r2/work/vnc_unixsrc/Xvnc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS=""
make: Entering directory
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c
cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
In file included from /usr/include/signal.h:307,
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
In file included from /usr/include/errno.h:36,
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:126,
/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory
make: *** [imake.o] Error 1
make: Leaving directory
make: *** [imake.proto] Error 2
make: Leaving directory `/var/tmp/portage/vnc-3.3.3-r2/work/vnc_unixsrc/Xvnc'
make: *** [World] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 22, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/net-misc/vnc/vnc-3.3.3-r2.ebuild .
i can not reproduce this.... it compiles ok on my machine - also it looks like you are missing essential system parts - did you unmerge your kernel-headers? what does emerge search linux-headers give you?
This prolly occured as a result of bug 2132, bad kernel ebuild dependancies. I
had merged "gentoo-sources" and unmerged the conflicting "linux-headers"
without merging any other headers (they didn't exist!). I'll look into it today.
Problem was that I had unmerge linux-sources-2.4.18 beleiving it incompatible
All better. My bad. Thanx.