Steve Gladden
2006-Dec-05 02:20 UTC
[asterisk-users] zaptel-1.4.0-beta2 Getting it to compile on Fedora Core 6 _64bit
I keep running into the dead end that it can't find config.h in the source tree. It looks like newer kernels don't use it anymore. Someone ran into this awhile back when compiling 1.2 and it looks as though the issue was never resolved. Any ideas? Last time I tried this, I was on fedora core 5 64bit and all went well. It's not working on this newer setup Any ideas on what I can do to make it go? THANKS! Steve ---------------------------------------- make linux26 make -C /lib/modules/2.6.18-1.2849.fc6/build SUBDIRS=/usr/src/zaptel-1.4.0-beta2 modules make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-x86_64' CC [M] /usr/src/zaptel-1.4.0-beta2/pciradio.o In file included from /usr/src/zaptel-1.4.0-beta2/zaptel.h:34, from /usr/src/zaptel-1.4.0-beta2/pciradio.c:57: /usr/src/zaptel-1.4.0-beta2/zconfig.h:9:26: error: linux/config.h: No such file or directory make[2]: *** [/usr/src/zaptel-1.4.0-beta2/pciradio.o] Error 1 make[1]: *** [_module_/usr/src/zaptel-1.4.0-beta2] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-x86_64' make: *** [linux26] Error 2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Carlos Alperin
2006-Dec-05 12:26 UTC
[asterisk-users] zaptel-1.4.0-beta2 Getting it to compile on FedoraCore 6 _64bit
Steve, It seems like you don't have the full sources on your linux box. Do you have a directory /usr/src/linux, which is a soft link to /usr/src/kernel/2.6.18.-1.2849 ? If not, or if the directory is empty means that you need to complete your sources first. I have this version of Zaptel running ok on 2.6.18-1.2239.fc5, but you can see on your errors that linux/config.h says no such directory!!!! Carlos Alperin -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steve Gladden Sent: Tuesday, December 05, 2006 4:21 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] zaptel-1.4.0-beta2 Getting it to compile on FedoraCore 6 _64bit I keep running into the dead end that it can't find config.h in the source tree. It looks like newer kernels don't use it anymore. Someone ran into this awhile back when compiling 1.2 and it looks as though the issue was never resolved. Any ideas? Last time I tried this, I was on fedora core 5 64bit and all went well. It's not working on this newer setup Any ideas on what I can do to make it go? THANKS! Steve ---------------------------------------- make linux26 make -C /lib/modules/2.6.18-1.2849.fc6/build SUBDIRS=/usr/src/zaptel-1.4.0-beta2 modules make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-x86_64' CC [M] /usr/src/zaptel-1.4.0-beta2/pciradio.o In file included from /usr/src/zaptel-1.4.0-beta2/zaptel.h:34, from /usr/src/zaptel-1.4.0-beta2/pciradio.c:57: /usr/src/zaptel-1.4.0-beta2/zconfig.h:9:26: error: linux/config.h: No such file or directory make[2]: *** [/usr/src/zaptel-1.4.0-beta2/pciradio.o] Error 1 make[1]: *** [_module_/usr/src/zaptel-1.4.0-beta2] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-x86_64' make: *** [linux26] Error 2 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
David Thomas
2006-Dec-05 13:26 UTC
[asterisk-users] zaptel-1.4.0-beta2 Getting it to compile on Fedora Core 6 _64bit
On 12/5/06, Steve Gladden <Asterisk@michiganbroadband.com> wrote:> I keep running into the dead end that it can't find config.h in the source > tree.I ran into this problem yesterday trying to compile ztdummy on FC6 i586. The latest Digium tarball gave me the config.h error. I was able to compile an SVN checkout of zaptel-1.4.0-beta2, but I was still unable to load ztdummy. At this point I received "Unknown symbol". FYI: I did have full kernel sources available I'll try again later today... hopefully Tzafrir's quick-and-dirty fix will do the trick. David