[Asterisk-Dev] Re: Compiling CVS Zaptel with Fedora Core 1

Shawn Nocita xardoz at earthlink.net
Fri Apr 2 07:45:33 MST 2004


Mark,

         That did it, not sure what changed but something did. Thanks for your help.

-----Original Message-----
From: "Schaefer, Mark" <Mark.Schaefer at ONSTAR.com>
Sent: Apr 2, 2004 8:45 AM
To: 'Shawn Nocita' <xardoz at earthlink.net>
Subject: RE: [Asterisk-Dev] Re: Compiling CVS Zaptel with Fedora Core 1

I'd suggest that you remove and reinstall the kernel source package.  (rpm
-e kernel-source; rpm -ivh kernel-source...)  The make config may have
changed some of the include files.  Remember that your kernel wasn't
necessarily built with all of the same options.

-----Original Message-----
From: Shawn Nocita [mailto:xardoz at earthlink.net]
Sent: Friday, April 02, 2004 8:43 AM
To: asterisk-dev at lists.digium.com
Cc: Schaefer, Mark
Subject: RE: [Asterisk-Dev] Re: Compiling CVS Zaptel with Fedora Core 1


Mark,

       I sure am.  Did you see how I have my /usr/src directory layed out
with the links, is there anything different compared to you? 

I have not modified the kernel. I did a make menuconfig, saved the config
with
out making any changes, then did make dep, make, and built the kernel
to make sure the source would build a kernel but I did not do a make
install.

Let me know what else I can do, I'm encouraged that you have built it with
the same setup as I have, now its just a matter of what is different between
us.


Thanks,



-----Original Message-----
From: "Schaefer, Mark" <Mark.Schaefer at ONSTAR.com>
Sent: Apr 2, 2004 8:11 AM
To: "'asterisk-dev at lists.digium.com'" <asterisk-dev at lists.digium.com>
Subject: RE: [Asterisk-Dev] Re: Compiling CVS Zaptel with Fedora Core 1

Did you reconfigure the kernel?  I'm compiling the CVS dev tree against
kernel-2.4.22-1.2174.nptl without any problem.  Are you 100% up2date?

-----Original Message-----
From: Shawn Nocita [mailto:xardoz at earthlink.net]
Sent: Friday, April 02, 2004 8:03 AM
To: asterisk-dev at lists.digium.com
Cc: blackfire at metal.art.pl
Subject: Re: [Asterisk-Dev] Re: Compiling CVS Zaptel with Fedora Core 1


Grzegorz,

         Not that it completely rules that out, but I did build a kernel
with
the source tree without errors.  Looking at the compile output was there
a particular file that you think I should look at. As I had said I am no
programmer
but I can usually figure some simple stuff out if pointed in the right
direction.

Thanks,

-----Original Message-----
From: Grzegorz Nosek <blackfire at metal.art.pl>
Sent: Apr 2, 2004 8:54 AM
To: asterisk-dev at lists.digium.com
Subject: Re: [Asterisk-Dev] Re: Compiling CVS Zaptel with Fedora Core 1

On Fri, 2 Apr 2004 07:27:25 -0500 (GMT-05:00), Shawn Nocita wrote
> Tony,
> 
>       See below:
> 
> [root at fedora 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 [root at fedora src]#
> 
> [root at fedora 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 [root at fedora src]#
> 
> -----Original Message-----
> From: Tony Mountifield <tony at softins.clara.co.uk>
> Sent: Apr 2, 2004 6:17 AM
> To: asterisk-dev at lists.digium.com
> Subject: [Asterisk-Dev] Re: Compiling CVS Zaptel with Fedora 
> Core 1
> 
> In article <406D33C7.6000202 at earthlink.net>,
> Shawn <xardoz at earthlink.net> 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: tony at softins.co.uk - http://www.softins.co.uk
> Play: tony at mountifield.org - 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
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev








More information about the asterisk-dev mailing list