Hello,
I tried the current svn version and it still fails to build from source:
gcc -D_REENTRANT -DSYSCONFDIR=\"/usr/local/etc\" -DHAVE_CONFIG_H -I. -
I/usr/include/libxml2 -g -O2 -pthread -MT li100-main.o -MD -MP -MF
.deps/li100-main.Tpo -c -o li100-main.o li100-main.c
In file included from /usr/include/sys/time.h:31,
from srcp-gl.h:7,
from config-srcpd.h:36,
from li100-main.c:23:
/usr/include/sys/select.h:78: error: conflicting types for ‘fd_set’
/usr/include/linux/types.h:12: error: previous declaration of ‘fd_set’ was
here
In file included from /usr/include/pthread.h:26,
from srcp-session.h:22,
from srcp-gl.h:10,
from config-srcpd.h:36,
from li100-main.c:23:
/usr/include/time.h:105: error: conflicting types for ‘timer_t’
/usr/include/linux/types.h:22: error: previous declaration of ‘timer_t’ was
here
In file included from /usr/include/stdlib.h:320,
from /usr/include/libxml2/libxml/SAX.h:16,
from /usr/include/libxml2/libxml/globals.h:20,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:216,
from /usr/include/libxml2/libxml/tree.h:1209,
from li100.h:20,
from li100-main.c:24:
/usr/include/sys/types.h:46: error: conflicting types for ‘loff_t’
/usr/include/linux/types.h:30: error: previous declaration of ‘loff_t’ was
here
/usr/include/sys/types.h:62: error: conflicting types for ‘dev_t’
/usr/include/linux/types.h:13: error: previous declaration of ‘dev_t’ was here
In file included from /usr/include/stdlib.h:320,
from /usr/include/libxml2/libxml/SAX.h:16,
from /usr/include/libxml2/libxml/globals.h:20,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:216,
from /usr/include/libxml2/libxml/tree.h:1209,
from li100.h:20,
from li100-main.c:24:
/usr/include/sys/types.h:198: error: conflicting types for ‘int64_t’
/usr/include/linux/types.h:98: error: previous declaration of ‘int64_t’ was
here
/usr/include/sys/types.h:204: error: conflicting types for ‘u_int64_t’
/usr/include/linux/types.h:97: error: previous declaration of ‘u_int64_t’ was
here
In file included from /usr/include/stdlib.h:320,
from /usr/include/libxml2/libxml/SAX.h:16,
from /usr/include/libxml2/libxml/globals.h:20,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:216,
from /usr/include/libxml2/libxml/tree.h:1209,
from li100.h:20,
from li100-main.c:24:
/usr/include/sys/types.h:235: error: conflicting types for ‘blkcnt_t’
/usr/include/linux/types.h:124: error: previous declaration of ‘blkcnt_t’ was
here
make[2]: *** [li100-main.o] Error 1
make[2]: Leaving directory `/home/roodemol/temp/srcpd/srcpd/trunk/srcpd/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/roodemol/temp/srcpd/srcpd/trunk/srcpd/src'
make: *** [all-recursive] Error 1
I've found the following:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/366659
and that's the case for me too.
Regards,
Gilles
On Sunday 21 June 2009 22:09:48 Guido Scholz wrote:
> Am Sun, 21. Jun 2009 um 17:50:07 +0200 schrieb RISCH Gilles:
> > Hello,
>
> Hi Risch,
>
> > today I tried to compile the latest release (2.0.12) on an amd64 system:
> > uname -a
> > Linux bombadil 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:55:09 UTC
> > 2009 x86_64 GNU/Linux
> >
> > and it failed due to some confliction types:
> >
> > roodemol@...$ make
> > Making all in src
> > make[1]: Entering directory `/home/roodemol/temp/srcpd/srcpd-2.0.12/src'
> > make all-am
> > make[2]: Entering directory `/home/roodemol/temp/srcpd/srcpd-2.0.12/src'
> > gcc -D_REENTRANT -DSYSCONFDIR=\"/usr/local/etc\" -DHAVE_CONFIG_H -I. -
> > I/usr/include/libxml2 -g -O2 -pthread -MT li100-main.o -MD -MP -MF
> > .deps/li100-main.Tpo -c -o li100-main.o li100-main.c
>
> [...]
>
> > In file included from /usr/include/sys/param.h:52,
>
> [...]
>
> > is this a known error or already solved in the subversion tree?
>
> You are the first one to report this error. I have just removed the
> dependency for sys/param.h; may be this helps. Please try the current
> svn version.
>
> Guido
|