Jean-Hugues ROBERT
2005-Mar-14 06:34 UTC
[Asterisk-Users] colinux fresh install, zaptel does not compile, size_t error
Hi, I followed the instructions on http://www.asterisk.org/index.php?menu=download. I picked the latest version using CVS. Things went fine until I cd zaptel ; make clean ; make install. I then get an error when compiling zaptel.c /usr/src/linux/include/linux/kernel.h:75: error: parse error before "size_t" This happens very early on and I suspect that it is actually an issue with the kernel include files on my machine. Nota: I am installing on a colinux debian. uname -a Linux colinux2 2.4.26-co-0.6.1 #1 Sat May 29 15:30:37 IDT 2004 i686 GNU/Linux I think I have all the required packages, but I maybe wrong. If anybody else has had the same issue, thanks for help. PS: I could not find a way to search the mailing list archive... Yours, JeanHuguesRobert PS: dpkg -l output: colinux2:/usr/src/zaptel# dpkg -l Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================================-===================================-=====================================================================================ii adduser 3.56 Add and remove users and groups ii apt 0.5.25 Advanced front-end for dpkg ii apt-utils 0.5.25 APT utility programs ii at 3.1.8-11 Delayed job execution and batch processing ii base-files 3.0.15 Debian base system miscellaneous files ii base-passwd 3.5.7 Debian base system master password and group files ii bash 2.05b-15 The GNU Bourne Again SHell ii bind9 9.2.3+9.2.4-rc2-1 Internet Domain Name Server ii binutils 2.15-5 The GNU assembler, linker and binary utilities ii bison 1.875d-1 A parser generator that is compatible with YACC ii bsdmainutils 6.0.14 collection of more utilities from FreeBSD ii bsdutils 2.12-7 Basic utilities from 4.4BSD-Lite ii bzip2 1.0.2-5 high-quality block-sorting file compressor - utilities ii coreutils 5.0.91-2 The GNU core utilities ii cpio 2.5-1.1 GNU cpio -- a program to manage archives of files. ii cpp 3.3.5-1 The GNU C preprocessor (cpp) ii cpp-3.3 3.3.5-3 The GNU C preprocessor ii cron 3.0pl1-83 management of regular background processing ii cvs 1.12.9-6 Concurrent Versions System ii debconf 1.4.25 Debian configuration management system ii debconf-i18n 1.4.25 full internationalization support for debconf ii debconf-utils 1.4.41 debconf utilities ii debhelper 4.2.27 helper programs for debian/rules ii debianutils 2.8.2 Miscellaneous utilities specific to Debian ii defoma 0.11.8-0.1 Debian Font Manager -- automatic font configuration framework ii devscripts 2.8.5 Scripts to make the life of a Debian Package maintainer easier ii diff 2.8.1-6 File comparison utilities ii dpkg 1.10.22 Package maintenance system for Debian ii dpkg-dev 1.10.25 Package building tools for Debian ii dselect 1.10.22 a user tool to manage Debian packages ii e2fslibs 1.35-6 The EXT2 filesystem libraries ii e2fsprogs 1.35-6 The EXT2 file system utilities and libraries ii ed 0.2-20 The classic unix line editor ii equivs 2.0.6-0.1 Circumvent Debian package dependencies ii exim 3.36-11 An MTA (Mail Transport Agent) ii fakeroot 1.2.1 Gives a fake root environment ii fdutils 5.4-20030718-3 Linux floppy utilities ii file 4.07-2 Determines file type using "magic" numbers ii fileutils 5.0.91-2 The GNU file management utilities (transitional package) ii findutils 4.1.20-3 utilities for finding files--find, xargs, and locate ii flex 2.5.31-31 A fast lexical analyzer generator. ii fontconfig 2.2.3-4 generic font configuration library ii ftp 0.17-12 The FTP client. ii gcc 3.3.5-1 The GNU C compiler ii gcc-3.3 3.3.5-3 The GNU C compiler ii gcc-3.3-base 3.3.5-3 The GNU Compiler Collection (base package) ii gettext 0.14.1-6 GNU Internationalization utilities ii gettext-base 0.14.1-2 GNU Internationalization utilities for the base system ii grep 2.5.1.ds1-2 GNU grep, egrep and fgrep ii groff-base 1.18.1-15 GNU troff text-formatting system (base system components) ii gzip 1.3.5-8 The GNU compression utility ii hostname 2.13 A utility to set/show the host name or domain name ii html2text 1.3.2a-1 An advanced HTML to text converter ii ifupdown 0.6.4-4.8 High level tools to configure network interfaces ii info 4.6-1 Standalone GNU Info documentation browser ii initscripts 2.85-18 Standard scripts needed for booting and shutting down ii intltool-debian 0.30+20040213 Help i18n of RFC822 compliant config files ii ipchains 1.3.10-15 Network firewalling for Linux 2.2.x ii iptables 1.2.9-9 Linux kernel 2.4+ iptables administration tools ii java-common 0.22 Base of all Java packages ii jed 0.99.16-3.2 Editor for programmers. (textmode version) ii jed-common 0.99.16-3.2 Byte compiled S-Lang runtime files for jed and xjed. ii kernel-source-2.4.26 2.4.26-6 Linux kernel source for version 2.4.26 with Debian patches ii klogd 1.4.1-14 Kernel Logging Daemon ii less 382-2 Pager program similar to more ii libacl1 2.2.23-1 Access control list shared library ii libatk1.0-0 1.8.0-3 The ATK accessibility toolkit ii libattr1 2.4.16-1 Extended attribute shared library ii libblkid1 1.35-6 Block device id library ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file compressor library - runtime ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries and Timezone data ii libc6-dev 2.3.2.ds1-20 GNU C Library: Development Libraries and Header Files ii libcap1 1.10-14 support for getting/setting POSIX.1e capabilities ii libcomerr2 1.35-6 The Common Error Description library ii libcupsys2-gnutls10 1.1.23-2 Common UNIX Printing System(tm) - libs ii libdb1-compat 2.1.3-7 The Berkeley database routines [glibc 2.0/2.1 compatibility] ii libdb2 2.7.7.0-8.1 The Berkeley database routines (run-time files). ii libdb3 3.2.9-20 Berkeley v3 Database Libraries [runtime] ii libdb3-util 3.2.9-20 Berkeley v3 Database Utilities ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [runtime] ii libdns11 9.2.3+9.2.4-rc2-1 DNS Shared Library used by BIND ii libexpat1 1.95.8-1 XML parsing C library - runtime library ii libfontconfig1 2.2.3-4 generic font configuration library (shared library) ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared library files ii libgcc1 3.4.3-4 GCC support library ii libgcrypt11 1.2.0-11 LGPL Crypto library - runtime library ii libgcrypt7 1.1.90-1.1 LGPL Crypto library - runtime library ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime version) ii libgdbmg1 1.7.3-28 GNU dbm database routines (runtime version) ii libglib2.0-0 2.4.8-1 The GLib library of C routines ii libgnutls10 1.0.4-3 GNU TLS library - runtime library ii libgnutls11 1.0.16-13 GNU TLS library - runtime library ii libgpg-error0 1.0-1 library for common error values and messages in GnuPG components ii libgpmg1 1.19.6-12.1 General Purpose Mouse Library [libc6] ii libgtk2.0-0 2.4.13-1 The GTK+ graphical user interface library ii libgtk2.0-bin 2.4.13-1 The programs for the GTK+ graphical user interface library ii libgtk2.0-common 2.4.13-1 Common files for the GTK+ graphical user interface library ii libice6 4.3.0.dfsg.1-9 Inter-Client Exchange library ii libident 0.22-2.2 simple RFC1413 client library - runtime ii libisc7 9.2.3+9.2.4-rc2-1 ISC Shared Library used by BIND ii libisccc0 9.2.3+9.2.4-rc2-1 Command Channel Library used by BIND ii libisccfg0 9.2.3+9.2.4-rc2-1 Config File Handling Library used by BIND ii libjpeg62 6b-9 The Independent JPEG Group's JPEG runtime library ii libkrb53 1.3.6-1 MIT Kerberos runtime libraries ii libldap2 2.1.30-1 OpenLDAP libraries ii liblocale-gettext-perl 1.01-17 Using libc functions for internationalization in Perl ii liblockfile1 1.06 NFS-safe locking library, includes dotlockfile program ii liblwres1 9.2.3+9.2.4-rc2-1 Lightweight Resolver Library used by BIND ii liblzo1 1.08-1 A real-time data compression library ii libmagic1 4.07-2 File type determination library using "magic" numbers ii libmotif3 2.2.3-1 Open Motif - shared libraries ii libncurses5 5.4-4 Shared libraries for terminal handling ii libncurses5-dev 5.4-4 Developer's libraries and docs for ncurses ii libncursesw5 5.4-4 Shared libraries for terminal handling (wide character support) ii libnewt0 0.50.17-9.6 Not Erik's Windowing Toolkit - text mode windowing with slang ii libnewt0.51 0.51.6-4 Not Erik's Windowing Toolkit - text mode windowing with slang ii libopencdk8 0.5.5-10 Open Crypto Development Kit (OpenCDK) (runtime) ii libpam-modules 0.76-21 Pluggable Authentication Modules for PAM ii libpam-runtime 0.76-21 Runtime support for the PAM library ii libpam0g 0.76-21 Pluggable Authentication Modules library ii libpango1.0-0 1.6.0-3 Layout and rendering of internationalized text ii libpango1.0-common 1.6.0-3 Modules and configuration files for the Pango ii libpcap0 0.6.2-2 System interface for user-level packet capture. ii libpcap0.7 0.7.2-5 System interface for user-level packet capture ii libpcap0.8 0.8.3-5 System interface for user-level packet capture ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expression Library - runtime files ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libpopt0 1.7-4 lib for parsing cmdline parameters ii libreadline4 4.3-10 GNU readline and history libraries, run-time libraries ii libsasl2 2.1.18-4.1 Authentication abstraction library ii libsasl7 1.5.28-6.1 Authentication abstraction library ii libsm6 4.3.0.dfsg.1-9 X Window System Session Management library ii libss2 1.35-6 Command-line interface parsing library ii libssl-dev 0.9.7e-3 SSL development libraries, header files and documentation ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii libstdc++2.10-glibc2.2 2.95.4-22 The GNU stdc++ library ii libstdc++5 3.3.5-3 The GNU Standard C++ Library v3 ii libtasn1-2 0.2.10-4 Manage ASN.1 structures (runtime) ii libtext-charwidth-perl 0.04-1 get display widths of characters on the terminal ii libtext-iconv-perl 1.2-3 Convert between character sets in Perl ii libtext-wrapi18n-perl 0.06-1 internationalized substitute of Text::Wrap ii libtextwrap1 0.1-1 text-wrapping library with i18n - runtime ii libtiff4 3.6.1-3 Tag Image File Format library ii libuuid1 1.35-6 Universally unique id library ii libwrap0 7.6.dbs-4 Wietse Venema's TCP wrappers library ii libx11-6 4.3.0.dfsg.1-9 X Window System protocol client library ii libxaw7 4.3.0.dfsg.1-12.0.1 X Athena widget set library ii libxcursor1 1.1.3-1 X cursor management library ii libxext6 4.3.0.dfsg.1-9 X Window System miscellaneous extension library ii libxft2 2.1.2-6 FreeType-based font drawing library for X ii libxi6 4.3.0.dfsg.1-9 X Window System Input extension library ii libxmu6 4.3.0.dfsg.1-9 X Window System miscellaneous utility library ii libxp6 4.3.0.dfsg.1-9 X Window System printing extension library ii libxpm4 4.3.0.dfsg.1-12.0.1 X pixmap library ii libxrandr2 4.3.0.dfsg.1-9 X Window System Resize, Rotate and Reflection extension library ii libxrender1 0.8.3-7 X Rendering Extension client library ii libxt6 4.3.0.dfsg.1-9 X Toolkit Intrinsics ii libxtst6 4.3.0.dfsg.1-9 X Window System event recording and testing extension library rc lilo 22.2-3 LInux LOader - The Classic OS loader can load Linux and others ii linux-kernel-headers 2.5.999-test7-bk-17 Linux Kernel Headers for development ii login 4.0.3-28.4 System login tools ii logrotate 3.7-1 Log rotation utility ii lynx 2.8.5-2 Text-mode WWW Browser ii m4 1.4.2-2 a macro processing language ii mailx 8.1.2-0.20040524cvs-1 A simple mail user agent ii make 3.80-7 The GNU version of the "make" utility. ii makedev 2.3.1-75 Creates device files in /dev ii man-db 2.4.2-16 The on-line manual pager ii manpages 1.67-1 Manual pages about using a GNU/Linux system ii mawk 1.3.3-11 a pattern scanning and text processing language ii mbr 1.1.5-2 Master Boot Record for IBM-PC compatible computers. ii modconf 0.2.45.1 Device Driver Configuration ii module-init-tools 3.1-pre5-1 tools for managing Linux kernel modules ii modutils 2.4.26-1 Linux module utilities ii mount 2.12-7 Tools for mounting and manipulating filesystems ii nano 1.2.3-2 free Pico clone with some new features ii ncurses-base 5.4-4 Descriptions of common terminal types ii ncurses-bin 5.4-4 Terminal-related programs and man pages ii net-tools 1.60-10 The NET-3 networking toolkit ii netbase 4.17 Basic TCP/IP networking system ii netkit-inetd 0.10-9 The Internet Superserver ii netkit-ping 0.10-9 The ping utility from netkit ii nvi 1.79-21 4.4BSD re-implementation of vi ii passwd 4.0.3-28.4 Change and administer password and group data ii patch 2.5.9-2 Apply a diff file to an original ii pciutils 2.1.11-11 Linux PCI Utilities (for 2.*.* kernels) ii perl 5.8.4-4 Larry Wall's Practical Extraction and Report Language ii perl-base 5.8.4-4 The Pathologically Eclectic Rubbish Lister ii perl-modules 5.8.4-4 Core Perl modules ii po-debconf 0.8.15 Manage translated Debconf templates files with gettext ii ppp 2.4.2+20040202-3 Point-to-Point Protocol (PPP) daemon ii pppconfig 2.3.2 A text menu based utility for configuring ppp ii pppoe 3.5-3 PPP over Ethernet driver ii pppoeconf 1.0.3 configures PPPoE/ADSL connections ii procps 3.2.1-2 The /proc file system utilities ii psmisc 21.5-1 Utilities that use the proc filesystem ii python 2.3.4-1 An interactive high-level object-oriented language (default version) ii python2.3 2.3.4-1 An interactive high-level object-oriented language (version 2.3) ii rsync 2.6.3-2 fast remote file copy program (like rcp) ii samba 3.0.10-1 a LanManager-like file and printer server for Unix ii samba-common 3.0.10-1 Samba common files used by both the server and the client ii scite 1.62-1 Lightweight GTK-based Programming Editor ii sed 4.0.9-3 The GNU sed stream editor ii shellutils 5.0.91-2 The GNU shell programming utilities (transitional package) ii slang1 1.4.9-2 The S-Lang programming library - runtime version ii slang1a-utf8 1.4.9-2 The S-Lang programming library with utf8 support ii smbclient 3.0.10-1 a LanManager-like simple client for Unix ii smbfs 3.0.10-1 mount and umount commands for the smbfs (for kernels >= than 2.2.x) ii ssh 3.8.1p1-4 Secure rlogin/rsh/rcp replacement (OpenSSH) ii strace 4.5.4-1 A system call tracer ii swat 3.0.10-1 Samba Web Administration Tool ii sysklogd 1.4.1-14 System Logging Daemon ii syslinux 2.04-1 Bootloader for Linux/i386 using MS-DOS floppies ii sysv-rc 2.85-18 Standard boot mechanism using symlinks in /etc/rc?.d ii sysvinit 2.85-18 System-V like init ii tar 1.13.93-4 GNU tar ii tasksel 1.52 Tool for selecting tasks for installation on Debian system ii tcpd 7.6.dbs-4 Wietse Venema's TCP wrapper utilities ii tcpdump 3.8.3-3 A powerful tool for network monitoring and data acquisition ii telnet 0.17-24 The telnet client. ii textutils 5.0.91-2 The GNU text file processing utilities (transitional package) ii ttf-bitstream-vera 1.10-3 The Bitstream Vera family of free TrueType fonts ii ucf 1.13 Update Configuration File: preserves user changes to config files. ii unzip 5.51-1 De-archiver for .zip files ii util-linux 2.12-7 Miscellaneous system utilities ii wget 1.9.1-4 retrieves files from the web ii whiptail 0.51.6-4 Displays user-friendly dialog boxes from shell scripts ii xdu 3.0-12 display the output of "du" in an X window ii xfree86-common 4.3.0.dfsg.1-9 X Window System (XFree86) infrastructure ii xlibs-data 4.3.0.dfsg.1-9 X Window System client data ii xserver-common 4.3.0.dfsg.1-9 files and utilities common to all X servers ii xserver-xfree86 4.3.0.dfsg.1-9 the XFree86 X server ii zlib1g 1.2.2-4 compression library - runtime ii zlib1g-dev 1.2.2-4 compression library - development ------------------------------------------------------------------------- Web: http://hdl.handle.net/1030.37/1.1 Phone: +33 (0) 4 92 27 74 17
Andreas Sikkema
2005-Mar-14 06:48 UTC
[Asterisk-Users] colinux fresh install, zaptel does not compile, size_t error
asterisk-users-bounces@lists.digium.com wrote:> I followed the instructions on > http://www.asterisk.org/index.php?menu=download. > I picked the latest version using CVS. > Things went fine until I cd zaptel ; make clean ; make install. > > I then get an error when compiling zaptel.c > /usr/src/linux/include/linux/kernel.h:75: error: parse error > before "size_t" > > This happens very early on and I suspect that it is actually an > issue with the kernel include files on my machine. > > Nota: I am installing on a colinux debian. > uname -a > Linux colinux2 2.4.26-co-0.6.1 #1 Sat May 29 15:30:37 IDT 2004 i686 > GNU/LinuxOn http://www.ramdyne.nl/ you can find an article on how I got rid of the same problems you were having (on a Debian sarge install). Unfortunately the server is down for the next couple of hours... Here's a link to the google cache copy: http://66.102.9.104/search?q=cache:pR1IMCaiRcQJ:www.ramdyne.nl/index.php%3Fcat%3D11+%2Basterisk+%2Bramdyne+%2Bdebian&hl=nl&start=1 -- Andreas Sikkema Rits tele.com Van Vollenhovenstraat 3 3016 BE Rotterdam t: +31 (0)10 2245544 f: +31 (0)10 413 65 45