I did what any self-respecting member of this fine community would do, and
hacked it.
Add the line #include <linux/limits.h> near the beginning of util/logger.c and
it should
be fine.
There does seem to be a problem with my crosstools installation to do with
header files,
so the quick approach was the above 'modification'.
Martin
--- In "carol9078" <> wrote:
>
> make
> make[1]: Entering directory `/devel/devel/newstuff/build/modutils-
> build/util'
> /opt/crosstool/gcc-3.3.4-glibc-2.3.2/ar
: snip
> appears in.)
> ../../modutils-2.4.26/util/logger.c: In function `lprintf':
> ../../modutils-2.4.26/util/logger.c:112: error: `PATH_MAX' undeclared
> (first use in this function)
> make[1]: *** [logger.o] Error 1
> make[1]: Leaving directory `/devel/devel/newstuff/build/modutils-
> build/util'
> make: *** [all] Error 2
>
> Any clues as to how to fix this, tried various combinations of
> setting CC and ARCH etc.
>
> Cross compiling on Fedora 7
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|