<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<small>Hi Demuel, <br>
<br>
Look, i think (im not very sure yet) that the <b>page-flags.h</b> file
belongs to kernel </small><small>>= 2.5.x</small><small>, not to
the 2.4.x,<br>
<br>
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),<br>
<br>
1. Why dont u try the 2.6.x kernel and get the kernel source ?<br>
2. what's the result of runing this command on ur computer : <b>uname
-a</b><br>
3. Have u try another version (not the SVN) ?<br>
</small><br>
<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:demuel@thephinix.org">demuel@thephinix.org</a> wrote:
<blockquote
cite="mid32885.89.222.8.1.1171536569.squirrel@mail.thephinix.org"
type="cite">
<pre wrap="">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.
</pre>
<blockquote type="cite">
<pre wrap="">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@gatekeeper:/usr/src/linux/include/linux$ sudo make updatedb
Do this
demuel@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@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
<a class="moz-txt-link-abbreviated" href="mailto:demuel@thephinix.org">demuel@thephinix.org</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">demuel@gatekeeper:/usr/src/linux/include/linux$ pwd
/usr/src/linux/include/linux
demuel@gatekeeper:/usr/src/linux/include/linux$ sudo make updatedb
make: *** No rule to make target `updatedb'. Stop.
demuel@gatekeeper:/usr/src/linux/include/linux$ ls -la page-flags.h
/bin/ls: page-flags.h: No such file or directory
demuel@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
</pre>
<blockquote type="cite">
<pre wrap="">On Tue, Feb 13, 2007 at 02:23:21PM +0000, J. Espinal wrote:
</pre>
<blockquote type="cite">
<pre wrap="">make a 'updatedb' , and look for 'page-flags.h' , i think that you might
be missing that file,
</pre>
</blockquote>
<pre wrap="">under the include/ directory in the linux kernel source directory.
</pre>
<blockquote type="cite">
<pre wrap="">
J. Espinal,
<a class="moz-txt-link-abbreviated" href="mailto:demuel@thephinix.org">demuel@thephinix.org</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">make a 'updatedb' , and look for 'page-flags.h' , i think that you might
be missing that file,
</pre>
</blockquote>
<pre wrap="">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 <a class="moz-txt-link-abbreviated" href="mailto:jabber:tzafrir@jabber.org">jabber:tzafrir@jabber.org</a>
+972-50-7952406 <a class="moz-txt-link-freetext" href="mailto:tzafrir.cohen@xorcom.com">mailto:tzafrir.cohen@xorcom.com</a>
<a class="moz-txt-link-freetext" href="http://www.xorcom.com">http://www.xorcom.com</a> <a class="moz-txt-link-abbreviated" href="mailto:iax:guest@local.xorcom.com/tzafrir">iax:guest@local.xorcom.com/tzafrir</a>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
</body>
</html>