On Thu, 20 Oct 2005, Stefan Strobl wrote:
I'm trying to compile XFree86 3.3.6 on a SuSE 8.1 (kernel 2.4.19) but get the
following compile errors:
[...]
In file included from connection.c:79:
/usr/include/stdlib.h:699: parse error before int
make[4]: *** [connection.o] Error 1
make[4]: Leaving directory /usr/XFree86/3.3.6/source/xc/programs/xfs/os`
make[3]: *** [os] Error 2
[...]
Hard to imagine there's something wrong with the stdlib.h, so what else could
it be? I didn't tamper with the sources...
Move stdlib.h to be the first #include in connection.c.
[...]
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
cannot find -ltk
collect2: ld returned 1 exit status
make[5]: *** [XF86Setup] Error 1
[...]
I'm using tk/tcl-8.4-48 while xf86site.def suggests to be using tk-4.0 and
Tcl-7.4. Might that be a problem?
Looks like TkLibDir isn't specified correctly in your host.def.
Marc.
+--+---+
| Marc Aurele La France | work: 1-780-492-9310 |
| Academic Information and| fax:1-780-492-1729 |
|Communications Technologies | email: [EMAIL PROTECTED] |
| 352 General Services Building +---+
| University of Alberta | |
| Edmonton, Alberta | Standard disclaimers apply|
| T6G 2H1 | |
| CANADA | |
+--+---+
XFree86 developer and VP. ATI driver and X server internals.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel