Problems building debian package (with HAS_ACCT=true)

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

 



Hi,

I am having problems building the openh323gk package for debian/unstable
(So that I can set HAS_ACCT=true to get the RadAcct feature), and the
package won't build.

It seems to be a problem with conflicting system C headers.

Has anyone come across this, and know of a quick way out? Alternately,
if someone has a recent sid package with accounting enabled, can I
download it?

In file included from /usr/include/linux/videodev2.h:16,
                 from /usr/include/linux/videodev.h:8,
                 from /usr/include/ptlib/unix/ptlib/videoio.h:106,
                 from /usr/include/ptlib/video.h:89,
                 from /usr/include/ptlib/unix/ptlib/video.h:66,
                 from /usr/share/pwlib/include/ptlib.h:269,
                 from gk.h:22,
                 from gk.cxx:29:
/usr/include/linux/time.h:9: error: redefinition of `struct timespec'
/usr/include/time.h:119: error: previous definition of `struct timespec'
/usr/include/linux/time.h:15: error: redefinition of `struct timeval'
/usr/include/bits/time.h:70: error: previous definition of `struct
timeval'
/usr/include/linux/time.h:354: error: redefinition of `struct
itimerspec'
/usr/include/time.h:160: error: previous definition of `struct
itimerspec'
In file included from /usr/include/ptlib/unix/ptlib/socket.h:110,
                 from /usr/share/pwlib/include/ptlib/sockets.h:98,
                 from RasSrv.h:20,
                 from gk.cxx:30:
/usr/include/sys/time.h:57: error: redefinition of `struct timezone'
/usr/include/linux/time.h:20: error: previous definition of `struct
timezone'
/usr/include/sys/time.h:94: error: syntax error before numeric constant
/usr/include/sys/time.h:108: error: redefinition of `struct itimerval'
/usr/include/linux/time.h:359: error: previous definition of `struct
itimerval'
make[1]: *** [obj_linux_x86_r/gk.o] Error 1
make[1]: Leaving directory `/home/david/build/openh323gk-2.0.6'
make: *** [build-stamp] Error 2




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux