[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 03:49:29 MST 2007


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
>




More information about the asterisk-users mailing list