[asterisk-users] Zaptel Won't Compile In Slackware 11.0 Kernel 2.4.33

demuel at thephinix.org demuel at thephinix.org
Thu Feb 15 06:44:08 MST 2007


Hi,

I observed that too. I already got that 2.6.x kernel and it is there actually. Though Patrick has
put a 2.6.x kernel in /extra, I am still thinking if I will upgrade my existing kernel in this
laptop. The maintainer of slackware did not made the 2.6.x as the default kernel for some other
reasons he believes. I told you, the slackware 11.0 has a default kernel of 2.4.33.3. I am
sticking with SVN because of development purposes.

Does this mean that zaptel doesn't have backward compatibility with previous linux kernels? Is it
a bug?

Regards,
Demuel


> Hi Demuel,
>
> Look, i think (im not very sure yet) that the *page-flags.h* file
> belongs to kernel >= 2.5.x, not to the 2.4.x,
>
> Im using Slackware 10.2 , I have not upgraded yet to the 11.0 but i
> think that it comes with the 2.6.x kernel like a native kernel (not in
> /test/ directory anymore),
>
> 1. Why dont u try the 2.6.x kernel and get the kernel source ?
> 2. what's the result of runing this command on ur computer : *uname -a*
> 3. Have u try another version (not the SVN) ?
>
>
>
>
> demuel at thephinix.org wrote:
>> Hi,
>>
>> Even a default Slackware 11.0 with 2.4.33 kernel source failed to look for page-flags.h and I do
>> not have a card that your are referring to because this is a development machine on a laptop. It
>> used to work before but the current source tree which i get into a week ago started to break out
>> for my case.
>>
>>
>>> Hi Demuel,
>>>
>>> 1st. Do you have a card that support 'zttranscode' ? if Yes, go ahead with this, if no, there's
>>> no
>>> use for you to be compiling it.
>>>
>>> 2nd. Do NOT do this:
>>> demuel at gatekeeper:/usr/src/linux/include/linux$ sudo make updatedb
>>>
>>> Do this
>>> demuel at gatekeeper:/usr/src/linux/include/linux$ updatedb
>>> (as root, or you will have to permit that command 'updatedb' in the sudoers list for the user
>>> 'demuel', in ur case)
>>>
>>> then:
>>> demuel at gatekeeper:/usr/src/linux/include/linux$ slocate page-flags.h
>>>
>>> If u dont have it (slocate will certainly finds it if u do), then try to get it (of course, not
>>> just that file cause you could be missing another one in the farther process of compilation).
>>>
>>> Try to find out of what package or source where that file belongs to, and get it...
>>>
>>>
>>>
>>> J. Espinal
>>>
>>>
>>>
>>> demuel at thephinix.org wrote:
>>>
>>>> demuel at gatekeeper:/usr/src/linux/include/linux$ pwd
>>>> /usr/src/linux/include/linux
>>>> demuel at gatekeeper:/usr/src/linux/include/linux$ sudo make updatedb
>>>> make: *** No rule to make target `updatedb'.  Stop.
>>>> demuel at gatekeeper:/usr/src/linux/include/linux$ ls -la page-flags.h
>>>> /bin/ls: page-flags.h: No such file or directory
>>>> demuel at gatekeeper:/usr/src/linux/include/linux$
>>>>
>>>> Did i missed something down here? Weird thing is, even a fresh install of slackware produced
>>>> the
>>>> same kind of error. Actually, it used to be working about a week before I made a source
>>>> upgrade.
>>>> Any thoughts?
>>>>
>>>>
>>>> Regards,
>>>> Demuel
>>>>
>>>>
>>>>
>>>>> On Tue, Feb 13, 2007 at 02:23:21PM +0000, J. Espinal wrote:
>>>>>
>>>>>
>>>>>> make a 'updatedb' , and look for 'page-flags.h' , i think that you might
>>>>>> be missing that file,
>>>>>>
>>>>>>
>>>>>>
>>>>> under the include/ directory in the linux kernel source directory.
>>>>>
>>>>>
>>>>>
>>>>>> J. Espinal,
>>>>>>
>>>>>>
>>>>>>
>>>>>> demuel at thephinix.org wrote:
>>>>>>
>>>>>>
>>>>>>> Anybody,
>>>>>>>
>>>>>>>
>>>>>>> I have download asterisk 1.4 via svn. whem I compiled it, I got the
>>>>>>> following error:
>>>>>>>
>>>>>>>
>>>>>>> /lib/modules/2.4.33.3/build/include/asm/system.h:190: warning:
>>>>>>> dereferencing type-punned pointer
>>>>>>> will break strict-aliasing rules
>>>>>>> zttranscode.c:37:30: linux/page-flags.h: No such file or directory
>>>>>>> make[1]: *** [zttranscode.o] Error 1
>>>>>>> make[1]: Leaving directory
>>>>>>> `/home/kingkong/code/projects/asterisk/source/zaptel-1.4'
>>>>>>> make: *** [all] Error 2
>>>>>>>
>>>>>>>
>>>>>> make a 'updatedb' , and look for 'page-flags.h' , i think that you might
>>>>>> be missing that file,
>>>>>>
>>>>>>
>>>>>>
>>>>> under the include/ directory in the linux kernel source directory.
>>>>>
>>>>> Better yet: simply don't build zttranscode, unless you have a card that
>>>>> actually supports it...
>>>>>
>>>>> --
>>>>>                Tzafrir Cohen
>>>>> icq#16849755                    jabber:tzafrir at jabber.org
>>>>> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
>>>>> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>>>>> _______________________________________________
>>>>> --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
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> --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
>>>>
>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> --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
>>>
>>>
>>
>>
>> _______________________________________________
>> --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
>>
>>
>>
>>
>
> _______________________________________________
> --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
>




More information about the asterisk-users mailing list