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

Shawn Nocita xardoz at earthlink.net
Fri Apr 2 05:27:25 MST 2004


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
_______________________________________________
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