Kevin,

I've got the source package in /usr/src/linux-2.6.5-1.358

I also have sym links to it from /usr/src/linux and /usr/src/linux-2.6 and a sym link /lib/modules/2.6.5-1.358/build to /usr/src/linux (as mentioned on voipinfo). If I ommit this last sym link then the complier complains about only needing the lib headers and not the full kernel (or something like that).

Mark

(I've checked and the .config is in the directory)

Unless you can think of something obvious I'll clean out the src directory and redownload the kernel source and see if that helps.

Kevin Collins wrote:

Mark,

Have you checked to make sure your kernel source is in the following directory :

/usr/src/linux-2.6.5-1.358'
Makefile:434: .config: No such file or directory

It just seems to be complaining about not finding your kernel development source environment.
Kevin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Benson
Sent: Friday, September 23, 2005 11:21 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] ztdummy compile again

When you say kernel development do you mean kernel sources (which I have) or some other development tools/libs?

and a kernel build config file? make mrproper ? make oldconfig ? I've done that much at least...

Mark

Kevin Collins wrote:

Looks like you don't have kernel development installed and a basic kernel build config file generated.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Benson
Sent: Friday, September 23, 2005 8:55 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] ztdummy compile again

Hi,

I'm still strugling with getting an easy to use conference system implemented. I did have app_conference running, but today I upgraded asterisk to 1.0.9 and it stopped working. I've tried following the instructions for compiling app_conference on 1.0.7 but it didn't work.

So I went back to ztdummy (I've not had any luck getting this to compile on FC2).

Anyhoo, I've tried again and once again ztdummy fails to compile and the various disparate instructions on what is needed to get it running are not helping.

If I run make linux26 then the zaptel drivers start to compile but then spews out a load of errors.

Anyone have any ideas?

============SNIP===========

cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o ztcfg.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o zttool.o zttool.c
cc -o zttool zttool.o -lnewt
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o zttest cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
/lib/modules/2.6.5-1.358/build
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.5-1.358'
Makefile:434: .config: No such file or directory
CC [M]  /usr/src/zaptel/zaptel.o
In file included from /usr/src/zaptel/zconfig.h:9,
               from /usr/src/zaptel/zaptel.c:40:
include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /usr/src/zaptel/zaptel.c:40:
/usr/src/zaptel/zconfig.h:10:27: linux/version.h: No such file or directory
/usr/src/zaptel/zconfig.h:68:41: missing binary operator before token "("
In file included from include/linux/kernel.h:11,
               from /usr/src/zaptel/zaptel.c:42:
include/linux/linkage.h:5:25: asm/linkage.h: No such file or directory
In file included from include/linux/types.h:13,
               from include/linux/kernel.h:13,
               from /usr/src/zaptel/zaptel.c:42:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from include/linux/kernel.h:13,
               from /usr/src/zaptel/zaptel.c:42:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/kernel.h:13,
               from /usr/src/zaptel/zaptel.c:42:
include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t' include/linux/types.h:18: warning: data definition has no type or storage class
include/linux/types.h:21: error: syntax error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t' include/linux/types.h:21: warning: data definition has no type or storage class
include/linux/types.h:22: error: syntax error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino_t' include/linux/types.h:22: warning: data definition has no type or storage class
include/linux/types.h:23: error: syntax error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration of `mode_t' include/linux/types.h:23: warning: data definition has no type or storage class
include/linux/types.h:24: error: syntax error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration of `nlink_t' include/linux/types.h:24: warning: data definition has no type or storage class
include/linux/types.h:25: error: syntax error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration of `off_t' include/linux/types.h:25: warning: data definition has no type or storage class
include/linux/types.h:26: error: syntax error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration of `pid_t' include/linux/types.h:26: warning: data definition has no type or storage class

=================

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users


------------------------------------------------------------------------

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
------------------------------------------------------------------------

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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