[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

erpcd won't compile on Debian?



G'day :)

I'm trying to install erpcd on debian to control an annex 4000.

I have never tried to do this before, so I might be barking up the wrong
tree...

When trying to build the software, it crashes with the following:

Compiling the tools; output being saved in "Build.out"

*** Building libannex ***
*** Building netadm ***
*** Building na ***
*** Building erpcd ***

**************************************************************************
**** The compilation of the host tools FAILED.  See file "Build.out". ****
**************************************************************************

Last few lines of Build.out...

/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
tms.c:193: warning: static declaration for `tms_request' follows non-static
/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
session_dbunx.c: In function `sesdb_init_db':
session_dbunx.c:293: invalid use of undefined type `union semun'
session_dbunx.c:294: `ctlinit' has an incomplete type
session_dbunx.c: In function `sesdb_close_db':
session_dbunx.c:942: warning: passing arg 1 of `strlen' from incompatible
pointer type
session_dbunx.c:942: warning: passing arg 1 of `strlen' from incompatible
pointer type
session_dbunx.c:942: warning: passing arg 1 of `strcmp' from incompatible
pointer type
session_dbunx.c: At top level:
session_dbunx.c:120: storage size of `ctlinit' isn't known
make[2]: *** [session_dbunx.o] Error 1
make[2]: Leaving directory `/usr/annex/ra_X9.0.2/src/erpcd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/annex/ra_X9.0.2/src/erpcd'
make: *** [erpcd.local] Error 2



Reply to: