[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27299] Cannot cross-compile findutils

From: John Taylor
Subject: [bug #27299] Cannot cross-compile findutils
Date: Sat, 22 Aug 2009 10:49:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13


                 Summary: Cannot cross-compile findutils
                 Project: findutils
            Submitted by: pi00100100
            Submitted on: Sat 22 Aug 2009 10:49:29 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Compilation Failure
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.2
           Fixed Release: None




I'm trying to cross-compile findutils-4.4.2. I configured it with the
following arguments: --prefix=/usr --build=i686-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --disable-nls. When running "make", I get the
following error message:

make[4]: Entering directory `/mnt/clfs/sources/findutils-build/gnulib/lib'
depbase=`echo areadlink-with-size.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        x86_64-unknown-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I.
-I../../../findutils-4.4.2/gnulib/lib -I../..  -I../../intl   -O2 -march=core2
-MT areadlink-with-size.o -MD -MP -MF $depbase.Tpo -c -o areadlink-with-size.o
../../../findutils-4.4.2/gnulib/lib/areadlink-with-size.c &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from ./stdio.h:31,
/mnt/clfs/usr/include/stdio.h:722: error: expected declaration specifiers or
'...' before '(' token
/mnt/clfs/usr/include/stdio.h:722: error: conflicting types for 'rpl_fseeko'
./stdio.h:275: note: previous declaration of 'rpl_fseeko' was here
make[4]: *** [areadlink-with-size.o] Error 1
make[4]: Leaving directory `/mnt/clfs/sources/findutils-build/gnulib/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/mnt/clfs/sources/findutils-build/gnulib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/clfs/sources/findutils-build/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/findutils-build'
make: *** [all] Error 2

I can get rid of it by adding gl_cv_func_wcwidth_works=yes to the configure
arguments list, but I wonder if this is the normal and recommended way to
proceed or if this is a bug.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]