[Openchrome-users] Build problems in svnversion.h
Jan Danielsson
jan.m.danielsson
Sun Aug 26 08:43:10 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello all,
I'm about to move to modular x.org on my NetBSD system. Before doing
so, I wanted to build the OpenChrome driver, but it fails with:
==================================================
[---]
gmake all-recursive
gmake[1]: Entering directory `/root/openchrome/trunk'
Making all in unichrome
gmake[2]: Entering directory `/root/openchrome/trunk/unichrome'
/bin/ksh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
- -I.. -D_POSIX_THREAD_SAFE_FUNCTIONS -I/usr/pkg/include/xorg
gcc -DHAVE_CONFIG_H -I. -I.. -D_POSIX_THREAD_SAFE_FUNCTIONS
- -I/usr/pkg/include/xorg -I/usr/pkg/include -I/usr/pkg/include/drm -I/us
In file included from via_driver.c:46:
svnversion.h:1:22: missing terminating " character
svnversion.h:2:1: missing terminating " character
In file included from /usr/pkg/include/xorg/edid.h:15,
from /usr/pkg/include/xorg/xf86DDC.h:15,
from /usr/pkg/include/xorg/vgaHW.h:25,
from via_driver.h:37,
from via_driver.c:48:
/usr/pkg/include/xorg/vdif.h:29: error: parse error before string constant
/usr/pkg/include/xorg/vdif.h:71: error: parse error before '}' token
/usr/pkg/include/xorg/vdif.h:71: warning: data definition has no type or
storage class
/usr/pkg/include/xorg/vdif.h:165: error: parse error before "xf86VdifPtr"
/usr/pkg/include/xorg/vdif.h:165: warning: no semicolon at end of struct
or union
/usr/pkg/include/xorg/vdif.h:168: error: `gamma' redeclared as different
kind of symbol
/usr/include/math.h:210: error: previous declaration of `gamma'
/usr/pkg/include/xorg/vdif.h:170: error: parse error before '}' token
/usr/pkg/include/xorg/vdif.h:170: warning: data definition has no type
or storage class
In file included from /usr/pkg/include/xorg/xf86DDC.h:15,
from /usr/pkg/include/xorg/vgaHW.h:25,
from via_driver.h:37,
from via_driver.c:48:
/usr/pkg/include/xorg/edid.h:456: error: parse error before "xf86vdifPtr"
/usr/pkg/include/xorg/edid.h:456: warning: no semicolon at end of struct
or union
/usr/pkg/include/xorg/edid.h:459: error: parse error before '}' token
/usr/pkg/include/xorg/edid.h:459: warning: data definition has no type
or storage class
/usr/pkg/include/xorg/edid.h:461: error: parse error before
"ConfiguredMonitor"
/usr/pkg/include/xorg/edid.h:461: warning: data definition has no type
or storage class
In file included from /usr/pkg/include/xorg/vgaHW.h:25,
from via_driver.h:37,
from via_driver.c:48:
[---]
==================================================
...and many more errors after this. svnversion.h looks like this:
==================================================
#define BUILDCOMMENT "(development build, at svn revision 382)
"
==================================================
I tried the trivial workaround, but svnversion.h gets rebuilt on each
run. So I simply removed the svnversion.h generation, and became a much
happier person.
Now I seem to have a driver, but I haven't tried it yet.
- --
Kind regards,
Jan Danielsson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
iD8DBQFG0Z+OuPlHKFfKXTYRCjzDAJsGaWLLcpt6vrgO6cl3PPfuSl9SogCfQvMS
9iaSjBq6v6sXjV+Av9XSm8c=
=iV7W
-----END PGP SIGNATURE-----
More information about the Openchrome-users
mailing list