On Fri, 2 Apr 2004 07:27:25 -0500 (GMT-05:00), Shawn Nocita wrote > Tony, > > See below: > > [EMAIL PROTECTED] src]# uname -a > > Linux fedora.org 2.4.22-1.2174.nptl #1 Wed Feb 18 16:38:32 > EST 2004 i686 athlon i386 GNU/Linux [EMAIL PROTECTED] src]# > > [EMAIL PROTECTED] src]# ls -l /usr/src > total 36 > drwxr-xr-x 23 root root 4096 Apr 2 04:29 asterisk > drwxr-xr-x 3 root root 4096 Mar 30 20:19 iaxyprov > drwxr-xr-x 3 root root 4096 Apr 1 18:54 libpri > lrwxrwxrwx 1 root root 18 Feb 22 12:01 linux -> > /usr/src/linux-2.4 lrwxrwxrwx 1 root root 24 Feb 20 > 18:02 linux-2.4 -> linux-2.4.22-1.2174.nptl drwxr-xr-x 16 > root root 4096 Apr 2 05:15 linux-2.4.22-1.2174.nptl -rw-r- > -r-- 1 root root 9789 Mar 27 16:18 Makefile drwxr-xr-x 7 > root root 4096 Jan 23 20:15 redhat drwxr-xr-x 3 root root > 4096 Apr 2 05:35 zaptel [EMAIL PROTECTED] src]# > > -----Original Message----- > From: Tony Mountifield <[EMAIL PROTECTED]> > Sent: Apr 2, 2004 6:17 AM > To: [EMAIL PROTECTED] > Subject: [Asterisk-Dev] Re: Compiling CVS Zaptel with Fedora > Core 1 > > In article <[EMAIL PROTECTED]>, > Shawn <[EMAIL PROTECTED]> wrote: > > Tony Mountifield wrote: > > >When compiling kernel modules under Fedora you should use gcc32 as > > >the compiler, as that is what the kernel is compiled with. In the > > >zaptel directory use the make command: > > > > > >make HOSTCC=gcc32 > > > > > >or else change the HOSTCC line in the makefile to specify gcc32. > > > > > > > I did a make clean then make HOSTCC=gcc32 as you stated, still get the > > error, output below. Any other suggestions? > > There is some weird munging of identifiers going on here. > > Could you post the output of the following commands? > > uname -a > ls -l /usr/src > > I'm wondering whether your symbolic link /usr/src/linux-2.4 > is pointing to the correct source tree, to match the kernel > you are running. > > Cheers > Tony > -- > Tony Mountifield > Work: [EMAIL PROTECTED] - http://www.softins.co.uk > Play: [EMAIL PROTECTED] - http://tony.mountifield.org > _______________________________________________
I have actually seen broken kernel headers on RedHat 9 (a duplicate #endif and some other minor stuff that broke the compilation of PPP over ATM), so it might be worth to investigate the file in question. Have you tried a vanilla kernel? That would probably break a ton of stuff in FC, though. Cheers, Greg _______________________________________________ Asterisk-Dev mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-dev To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
