Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116148 - directvnc fails to compile with DirectFB 0.9.24
Summary: directvnc fails to compile with DirectFB 0.9.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://adam-lilienthal.de/directvnc
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-20 03:39 UTC by Michele Noberasco (RETIRED)
Modified: 2005-12-20 06:22 UTC (History)
1 user (show)

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 Michele Noberasco (RETIRED) gentoo-dev 2005-12-20 03:39:45 UTC
Upon attemping to compile directvnc against the latest version of DirectFB, the following is obtained:

[...]
checking for directfb >= 0.9.16... yes
checking DIRECTFB_CFLAGS... -D_REENTRANT -D_GNU_SOURCE -I/usr/include/directfb  
checking DIRECTFB_LIBS... -ldirectfb -lz -lfusion -ldirect -lpthread -ldl  
checking for getopt... yes
checking for getopt_long... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/directvnc-0.7.5/work/directvnc-0.7.5'
Making all in src
make[2]: Entering directory `/var/tmp/portage/directvnc-0.7.5/work/directvnc-0.7.5/src'
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -D_REENTRANT -D_GNU_SOURCE -I/usr/include/directfb   -march=pentium4m -Os -pipe -fomit-frame-pointer -c `test -f 'main.c' || echo './'`main.c
source='dfb.c' object='dfb.o' libtool=no \
depfile='.deps/dfb.Po' tmpdepfile='.deps/dfb.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -D_REENTRANT -D_GNU_SOURCE -I/usr/include/directfb   -march=pentium4m -Os -pipe -fomit-frame-pointer -c `test -f 'dfb.c' || echo './'`dfb.c
dfb.c:33: error: parse error before "caps"
dfb.c:33: warning: data definition has no type or storage class
make[2]: *** [dfb.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/directvnc-0.7.5/work/directvnc-0.7.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/directvnc-0.7.5/work/directvnc-0.7.5'
make: *** [all] Error 2

!!! ERROR: net-misc/directvnc-0.7.5 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Michele Noberasco (RETIRED) gentoo-dev 2005-12-20 04:05:08 UTC
I found the issue:
in dfb.c a var of type DFBGraphicsDeviceDescription is defined. Latest DirectFB versions no longer no longer have this type. But since this var, once defined, is never used, just commenting it out solves the problem.
Comment 2 Michele Noberasco (RETIRED) gentoo-dev 2005-12-20 04:11:38 UTC
Added some magic sed to fix the issue. Also created metadata.xml and listed myself as package maintainer.