http://bugs.openembedded.org/show_bug.cgi?id=1334





------- Comment #1 from [EMAIL PROTECTED]  2006-08-17 07:23 -------
Missing site file entries.

For things like this look at the things it can't cross-compile:

 "configure: error: cannot determine linux version when cross-compiling"

the search for that in the configure script:

[nynaeve][12:36AM]~%> grep -C 5 "cannot determine linux version"
/data/oe/build/titan-uclibc/tmp/work/libpcap-0.9.3-r1/libpcap-0.9.3/configure

        fi
        echo "$as_me:$LINENO: result: $ac_cv_linux_vers" >&5
echo "${ECHO_T}$ac_cv_linux_vers" >&6
        if test $ac_cv_linux_vers = unknown ; then
                { { echo "$as_me:$LINENO: error: cannot determine linux version
when cross-compiling" >&5
echo "$as_me: error: cannot determine linux version when cross-compiling" >&2;}
   { (exit 1); exit 1; }; }
        fi
        if test $ac_cv_linux_vers -lt 2 ; then
                { { echo "$as_me:$LINENO: error: version 2 or higher required;
see the INSTALL doc for more info" >&5
echo "$as_me: error: version 2 or higher required; see the INSTALL doc for more
info" >&2;}
[nynaeve][12:36AM]~%>

Note the name of the variable that it is checking: ac_cv_linux_vers

This is a variable you can usually set via the site file, if you then check the
existing site files:

[nynaeve][12:37AM]~%> grep ac_cv_linux_vers
/data/oe/org.openembedded.dev/site/*uclibc*
/data/oe/org.openembedded.dev/site/armeb-linux-uclibc:ac_cv_linux_vers=${ac_cv_linux_vers=2}
/data/oe/org.openembedded.dev/site/arm-linux-uclibc:ac_cv_linux_vers=${ac_cv_linux_vers=2}
/data/oe/org.openembedded.dev/site/i386-linux-uclibc:ac_cv_linux_vers=${ac_cv_linux_vers=2}
/data/oe/org.openembedded.dev/site/i686-linux-uclibc:ac_cv_linux_vers=${ac_cv_linux_vers=2}
/data/oe/org.openembedded.dev/site/mipsel-linux-uclibc:ac_cv_linux_vers=${ac_cv_linux_vers=2}
/data/oe/org.openembedded.dev/site/sh4-linux-uclibc:ac_cv_linux_vers=${ac_cv_linux_vers=2}
/data/oe/org.openembedded.dev/site/x86_64-linux-uclibc:ac_cv_linux_vers=${ac_cv_linux_vers=2}
[nynaeve][12:37AM]~%>

You see that other platforms alread define this. So you just need to add it to
your site file. For this platform it's using site/powerpc-linux-uclibc - you
can also look at what else the other site files define for that application.
Keep in mind that they are sometimes different for different targets so you
can't always just copy them.

Once it all works do a "monotone add powerpc-linux-uclibc" (since it doesn't
already exist in montone) and then a "monotone diff . > patch" and then attach
the patch.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to