[Lcdproc] lis driver fails to compile

Markus Dolze bsdfan@nurfuerspam.de
Thu Nov 1 14:18:02 2007


Hi,

as mentioned in my previous mail, the lis driver fails to compile. The
error is:

if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../..  -I/usr/local/include  
-fPIC -Wall -O2 -fno-strict-aliasing -pipe  -g -Wno-unused-function -MT
lis-lis.o -MD -MP -MF ".deps/lis-lis.Tpo" -c -o lis-lis.o `test -f
'lis.c' || echo './'`lis.c;  then mv -f ".deps/lis-lis.Tpo"
".deps/lis-lis.Po"; else rm -f ".deps/lis-lis.Tpo"; exit 1; fi
lis.c: In function `lis_init':
lis.c:512: warning: implicit declaration of function `clone'
lis.c:512: error: `CLONE_VM' undeclared (first use in this function)
lis.c:512: error: (Each undeclared identifier is reported only once
lis.c:512: error: for each function it appears in.)
lis.c:512: error: `CLONE_THREAD' undeclared (first use in this function)
lis.c:512: error: `CLONE_SIGHAND' undeclared (first use in this function)
*** Error code 1

Stop in /usr/home/mmdolze/smoketest/lcdproc/testing/server/drivers.

It reads like something thread programming related. Currently I have no
clue how to do these sort of things in FreeBSD.

Regards
Markus