Skip to contentSkip to conversation

package/findutils: Fix compile error

PATCH New Bernd Kuhls 2 participants 2 messages Oct 19, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/findutils: Fix compile error

Error occured with an allyespackageconfig setup:

/home/fli4l/br5/output/host/usr/bin/i586-buildroot-linux-uclibc-gcc -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g2 -o find ftsfind.o ./libfindtools.a ../lib/libfind.a ../gnulib/lib/libgnulib.a -lintl -lm -lm
../gnulib/lib/libgnulib.a(getdate.o): In function `get_date':
getdate.c:(.text+0x15cd): undefined reference to rpl_mktime' getdate.c:(.text+0x168e): undefined reference to rpl_mktime' getdate.c:(.text+0x1707): undefined reference to rpl_mktime' getdate.c:(.text+0x1812): undefined reference to rpl_mktime'
collect2: error: ld returned 1 exit status
make[3]: *** [find] Error 1
make[3]: Leaving directory `/home/fli4l/br5/output/build/findutils-4.4.2/find'

---
 package/findutils/findutils.mk |    1 +
 1 file changed, 1 insertion(+)
package/findutils/findutils.mk +1 -0
index d9b6050..3caedf8 100644
@@ -9,6 +9,7 @@ FINDUTILS_SITE = $(BR2_GNU_MIRROR)/findutils
 FINDUTILS_LICENSE = GPLv3+
 FINDUTILS_LICENSE_FILES = COPYING
 FINDUTILS_CONF_ENV = gl_cv_func_stdin=yes \
+			ac_cv_func_working_mktime=yes \
 			gl_cv_func_wcwidth_works=yes
 
 $(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/findutils: Fix compile error

Dear Bernd Kuhls,

Quoted 12 lines · Bernd Kuhls

Error occured with an allyespackageconfig setup:

/home/fli4l/br5/output/host/usr/bin/i586-buildroot-linux-uclibc-gcc -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g2 -o find ftsfind.o ./libfindtools.a ../lib/libfind.a ../gnulib/lib/libgnulib.a -lintl -lm -lm
../gnulib/lib/libgnulib.a(getdate.o): In function `get_date':
getdate.c:(.text+0x15cd): undefined reference to rpl_mktime' getdate.c:(.text+0x168e): undefined reference to rpl_mktime' getdate.c:(.text+0x1707): undefined reference to rpl_mktime' getdate.c:(.text+0x1812): undefined reference to rpl_mktime'
collect2: error: ld returned 1 exit status
make[3]: *** [find] Error 1
make[3]: Leaving directory `/home/fli4l/br5/output/build/findutils-4.4.2/find'

Quoted 4 lines
---
 package/findutils/findutils.mk |    1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com