So I finally get an opportunity to try the data modes of the T400P but I
can't seem to get sethdlc to work or sethdlc-new to compile...
I've checked the docs, mailing list archives and the wiki but not found
anything useful to point me in the right direction.

sethdlc compiles but seems to be unusable
# sethdlc hdlc0 mode ppp
hdlc0: Error setting mode: Invalid argument

plus it seems that 2.4.21 might have included the new HDLC because the
CONFIG_OLD_HDLC_API option in zconfig.h causes compilation errors if
turned on.

Help appreciated

TIA

--Karl



# uname -r
2.4.21-4.0.2.ELcustom


# ll /usr/src
total 12
drwxr-xr-x    2 root     root         4096 Dec 13 17:52 debug
lrwxrwxrwx    1 root     root           22 Feb  5 20:25 linux -> linux-2.4.21-4.0.2.EL/
drwxr-xr-x   16 root     root         4096 Feb  5 20:18 linux-2.4.21-4.0.2.EL
drwxr-xr-x    7 root     root         4096 Feb  4 16:40 redhat


# gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


# rpm -qa | grep glibc
glibc-2.3.2-95.6
glibc-kernheaders-2.4-8.34
glibc-common-2.3.2-95.6
glibc-headers-2.3.2-95.6
glibc-utils-2.3.2-95.6
glibc-profile-2.3.2-95.6
glibc-devel-2.3.2-95.6


# make sethdlc-new
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE   -DSTANDALONE_ZAPATA    sethdlc-new.c   -o 
sethdlc-new
In file included from sethdlc-new.c:19:
/usr/include/linux/if.h:86: field `ifru_addr' has incomplete type
/usr/include/linux/if.h:87: field `ifru_dstaddr' has incomplete type
/usr/include/linux/if.h:88: field `ifru_broadaddr' has incomplete type
/usr/include/linux/if.h:89: field `ifru_netmask' has incomplete type
/usr/include/linux/if.h:90: field `ifru_hwaddr' has incomplete type
sethdlc-new.c:27:2: #error Generic HDLC layer version mismatch, please get correct 
sethdlc.c
sethdlc-new.c:31:2: warning: #warning "No kernel support for Ethernet over Frame Relay 
/ HDLC, skipping it"
sethdlc-new.c:141: `IF_IFACE_V35' undeclared here (not in a function)
sethdlc-new.c:141: initializer element is not constant
sethdlc-new.c:141: (near initialization for `ifaces[0].value')
sethdlc-new.c:141: initializer element is not constant
sethdlc-new.c:141: (near initialization for `ifaces[0]')
[...snip lots of similar stuff...]
make: *** [sethdlc-new] Error 1


-- 
Karl Putland <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to