undefined reference to 'yylex'

Stefan Strobl <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
Hello

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...


[...]
/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?

Also I'm using gcc-3.2-36.... if that makes any difference.

I'd appreciate any help to get 3.3.6 running on my machine.

Thanks
Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.