[BusyBox 0002054]: error: '__NR_clock_gettime' undeclared (first use in this function)

bugs at busybox.net bugs at busybox.net
Fri Feb 8 00:29:29 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=2054 
====================================================================== 
Reported By:                cedric
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   2054
Category:                   Documentation
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             02-07-2008 15:38 PST
Last Modified:              02-07-2008 16:29 PST
====================================================================== 
Summary:                    error: '__NR_clock_gettime' undeclared (first use in
this function)
Description: 
>>> Unpacking source...

>>> Unpacking busybox-1.8.2.tar.bz2 to
/var/tmp/portage/sys-apps/busybox-1.8.2/work

 * Applying busybox-1.7.0-bb.patch ...

  [ ok ]

 * Applying busybox-1.7.4-signal-hack.patch ...

  [ ok ]

 * Could not locate user configfile, so we will save a default
one

scripts/kconfig/mconf.c: In function 'main':

scripts/kconfig/mconf.c:1048: warning: statement with no effect

scripts/kconfig/mconf.c:1049: warning: statement with no effect

 * # CONFIG_DMALLOC is not set

 * # CONFIG_FEATURE_SUID_CONFIG is not set

 * 

 * # CONFIG_BUILD_LIBBUSYBOX is not set

 * CONFIG_FEATURE_SH_IS_ASH=y

 * # CONFIG_FEATURE_SH_IS_NONE is not set

 * # CONFIG_PAM is not set

 * # CONFIG_STATIC is not set

 * # CONFIG_DEBUG is not set

 * # CONFIG_SELINUX is not set

 * # CONFIG_LOCALE_SUPPORT is not set

 * # CONFIG_TFTP is not set

 * # CONFIG_FTPGET is not set

 * # CONFIG_FTPPUT is not set

 * # CONFIG_IPCALC is not set

 * # CONFIG_TFTP is not set

 * # CONFIG_HUSH is not set

 * # CONFIG_LASH is not set

 * # CONFIG_MSH is not set

 * # CONFIG_INETD is not set

 * # CONFIG_DPKG is not set

 * # CONFIG_RPM2CPIO is not set

 * # CONFIG_RPM is not set

 * # CONFIG_FOLD is not set

 * # CONFIG_LOGNAME is not set

 * # CONFIG_OD is not set

 * # CONFIG_CRONTAB is not set

 * # CONFIG_UUDECODE is not set

 * # CONFIG_UUENCODE is not set

 * # CONFIG_SULOGIN is not set

 * # CONFIG_DC is not set

 * 

 * # CONFIG_DEBUG_INIT is not set

 * # CONFIG_DEBUG_CROND_OPTION is not set

 * # CONFIG_FEATURE_UDHCP_DEBUG is not set

 * # CONFIG_TASKSET is not set

>>> Source unpacked.

>>> Compiling source in
/var/tmp/portage/sys-apps/busybox-1.8.2/work/busybox-1.8.2 ...

  HOSTCC  scripts/basic/fixdep

  HOSTCC  scripts/basic/split-include

  HOSTCC  scripts/basic/docproc

  SPLIT   include/autoconf.h -> include/config/*

  GEN     include/bbconfigopts.h

  HOSTCC  applets/usage

  LD      archival/built-in.o

  CC      archival/ar.o

  GEN     include/usage_compressed.h

  CC      archival/bbunzip.o

  CC      applets/applets.o

  CC      archival/bzip2.o

  LD      applets/built-in.o

  LD      archival/libunarchive/built-in.o

  CC      archival/cpio.o

  CC      archival/libunarchive/archive_xread_all_eof.o

  CC      archival/dpkg_deb.o

  CC      archival/libunarchive/data_align.o

  CC      archival/gzip.o

  CC      archival/libunarchive/data_extract_all.o

  CC      archival/libunarchive/data_extract_to_buffer.o

  CC      archival/tar.o

  CC      archival/libunarchive/data_extract_to_stdout.o

  CC      archival/unzip.o

  CC      archival/libunarchive/data_skip.o

  AR      archival/lib.a

  LD      console-tools/built-in.o

  CC      console-tools/chvt.o

  CC      archival/libunarchive/decompress_bunzip2.o

  CC      console-tools/clear.o

  CC      archival/libunarchive/decompress_uncompress.o

  CC      console-tools/deallocvt.o

  CC      archival/libunarchive/decompress_unlzma.o

  CC      console-tools/dumpkmap.o

  CC      archival/libunarchive/decompress_unzip.o

  CC      console-tools/kbd_mode.o

  CC      archival/libunarchive/filter_accept_all.o

  CC      console-tools/loadfont.o

  CC      archival/libunarchive/filter_accept_list.o

  CC      console-tools/loadkmap.o

  CC      archival/libunarchive/filter_accept_list_reassign.o

  CC      console-tools/openvt.o

  CC      archival/libunarchive/filter_accept_reject_list.o

  CC      console-tools/reset.o

  CC      archival/libunarchive/find_list_entry.o

  CC      console-tools/resize.o

  CC      archival/libunarchive/get_header_ar.o

  CC      console-tools/setconsole.o

  CC      archival/libunarchive/get_header_cpio.o

  CC      console-tools/setkeycodes.o

  CC      archival/libunarchive/get_header_tar.o

  CC      console-tools/setlogcons.o

  CC      archival/libunarchive/get_header_tar_bz2.o

  AR      console-tools/lib.a

  LD      coreutils/built-in.o

  CC      coreutils/basename.o

  CC      archival/libunarchive/get_header_tar_gz.o

  CC      coreutils/cal.o

  CC      archival/libunarchive/get_header_tar_lzma.o

  CC      coreutils/cat.o

  CC      archival/libunarchive/header_list.o

  CC      coreutils/catv.o

  CC      archival/libunarchive/header_skip.o

  CC      coreutils/chgrp.o

  CC      archival/libunarchive/header_verbose_list.o

  CC      coreutils/chmod.o

  CC      archival/libunarchive/init_handle.o

  CC      coreutils/chown.o

  CC      archival/libunarchive/open_transformer.o

  CC      coreutils/chroot.o

  CC      archival/libunarchive/seek_by_jump.o

  CC      coreutils/cksum.o

  CC      archival/libunarchive/seek_by_read.o

  CC      coreutils/comm.o

  CC      archival/libunarchive/unpack_ar_archive.o

  CC      coreutils/cp.o

  AR      archival/libunarchive/lib.a

  LD      coreutils/libcoreutils/built-in.o

  CC      coreutils/libcoreutils/cp_mv_stat.o

  CC      coreutils/cut.o

  CC      coreutils/libcoreutils/getopt_mk_fifo_nod.o

  CC      coreutils/date.o

  AR      coreutils/libcoreutils/lib.a

  LD      debianutils/built-in.o

  CC      debianutils/mktemp.o

  CC      coreutils/dd.o

  CC      debianutils/pipe_progress.o

  CC      coreutils/df.o

  CC      debianutils/run_parts.o

  CC      coreutils/dirname.o

  CC      debianutils/start_stop_daemon.o

  CC      coreutils/dos2unix.o

  CC      debianutils/which.o

  CC      coreutils/du.o

  AR      debianutils/lib.a

  LD      e2fsprogs/built-in.o

  CC      e2fsprogs/chattr.o

  CC      coreutils/echo.o

  CC      e2fsprogs/e2fs_lib.o

  CC      coreutils/env.o

  CC      e2fsprogs/fsck.o

  CC      coreutils/expand.o

  CC      coreutils/expr.o

  CC      coreutils/false.o

  CC      coreutils/head.o

  CC      e2fsprogs/lsattr.o

  CC      coreutils/hostid.o

  AR      e2fsprogs/lib.a

  LD      editors/built-in.o

  CC      editors/awk.o

  CC      coreutils/id.o

  CC      editors/cmp.o

  CC      coreutils/install.o

  CC      editors/diff.o

  CC      coreutils/length.o

  CC      editors/ed.o

  CC      coreutils/ln.o

  CC      editors/patch.o

  CC      coreutils/ls.o

  CC      editors/sed.o

  CC      coreutils/md5_sha1_sum.o

  CC      editors/vi.o

  CC      coreutils/mkdir.o

  CC      coreutils/mkfifo.o

  CC      coreutils/mknod.o

  CC      coreutils/mv.o

  CC      coreutils/nice.o

  CC      coreutils/nohup.o

  CC      coreutils/printenv.o

  AR      editors/lib.a

  LD      findutils/built-in.o

  CC      findutils/find.o

  CC      coreutils/printf.o

  CC      findutils/grep.o

  CC      coreutils/pwd.o

  CC      findutils/xargs.o

  CC      coreutils/readlink.o

  AR      findutils/lib.a

  CC      coreutils/realpath.o

  LD      init/built-in.o

  CC      init/halt.o

  CC      coreutils/rm.o

  CC      init/init.o

  CC      coreutils/rmdir.o

  CC      init/mesg.o

  CC      coreutils/seq.o

  AR      init/lib.a

  LD      ipsvd/built-in.o

  CC      ipsvd/ipsvd_perhost.o

  CC      coreutils/sleep.o

  CC      ipsvd/tcpudp.o

  CC      coreutils/sort.o

  AR      ipsvd/lib.a

  CC      coreutils/split.o

  LD      libbb/built-in.o

  CC      libbb/appletlib.o

  CC      coreutils/stat.o

  CC      libbb/ask_confirmation.o

  CC      coreutils/stty.o

  CC      libbb/bb_askpass.o

  CC      coreutils/sum.o

  CC      libbb/bb_basename.o

  CC      coreutils/sync.o

  CC      libbb/bb_do_delay.o

  CC      coreutils/tail.o

  CC      libbb/bb_pwd.o

  CC      coreutils/tee.o

  CC      libbb/bb_strtonum.o

  CC      coreutils/test.o

  CC      libbb/change_identity.o

  CC      coreutils/touch.o

  CC      libbb/chomp.o

  CC      coreutils/tr.o

  CC      coreutils/true.o

  CC      libbb/compare_string_array.o

  CC      coreutils/tty.o

  CC      libbb/concat_path_file.o

  CC      coreutils/uname.o

  CC      libbb/concat_subpath_file.o

  CC      coreutils/uniq.o

  CC      libbb/copy_file.o

  CC      coreutils/usleep.o

  CC      libbb/copyfd.o

  CC      coreutils/wc.o

  CC      libbb/correct_password.o

  CC      coreutils/who.o

  CC      libbb/crc32.o

  CC      coreutils/whoami.o

  CC      libbb/create_icmp6_socket.o

  CC      coreutils/yes.o

  CC      libbb/create_icmp_socket.o

  AR      coreutils/lib.a

  CC      libbb/crypt_make_salt.o

  LD      libpwdgrp/built-in.o

  CC      libpwdgrp/pwd_grp.o

  CC      libbb/default_error_retval.o

  CC      libpwdgrp/uidgid_get.o

  CC      libbb/device_open.o

  AR      libpwdgrp/lib.a

  LD      loginutils/built-in.o

  CC      loginutils/addgroup.o

  CC      libbb/dump.o

  CC      loginutils/adduser.o

  CC      libbb/error_msg.o

  CC      loginutils/chpasswd.o

  CC      libbb/error_msg_and_die.o

  CC      loginutils/cryptpw.o

  CC      libbb/execable.o

  CC      loginutils/deluser.o

  CC      libbb/fclose_nonstdin.o

  CC      loginutils/getty.o

  CC      libbb/fflush_stdout_and_exit.o

  CC      loginutils/login.o

  CC      libbb/fgets_str.o

  CC      loginutils/passwd.o

  CC      libbb/find_mount_point.o

  CC      loginutils/su.o

  CC      libbb/find_pid_by_name.o

  CC      loginutils/vlock.o

  CC      libbb/find_root_device.o

  AR      loginutils/lib.a

  CC      libbb/full_write.o

  LD      miscutils/built-in.o

  CC      miscutils/adjtimex.o

  CC      libbb/get_console.o

  CC      miscutils/bbconfig.o

  CC      libbb/get_last_path_component.o

  CC      miscutils/chrt.o

  CC      libbb/get_line_from_file.o

  CC      miscutils/crond.o

  CC      libbb/getopt32.o

  CC      miscutils/devfsd.o

  CC      libbb/herror_msg.o

  CC      miscutils/eject.o

  CC      libbb/herror_msg_and_die.o

  CC      miscutils/hdparm.o

  CC      libbb/human_readable.o

  CC      miscutils/last.o

  CC      libbb/inet_common.o

  CC      miscutils/less.o

  CC      libbb/info_msg.o

  CC      miscutils/makedevs.o

  CC      libbb/inode_hash.o

  CC      miscutils/microcom.o

  CC      libbb/isdirectory.o

  CC      miscutils/mountpoint.o

  CC      libbb/kernel_version.o

  CC      miscutils/mt.o

  CC      libbb/last_char_is.o

  CC      miscutils/raidautorun.o

  CC      libbb/lineedit.o

  CC      miscutils/readahead.o

  CC      libbb/llist.o

miscutils/readahead.c: In function 'readahead_main':

miscutils/readahead.c:27: warning: implicit declaration of function
'readahead'

  CC      miscutils/runlevel.o

  CC      libbb/login.o

  CC      miscutils/rx.o

  CC      libbb/loop.o

  CC      miscutils/setsid.o

  CC      libbb/make_directory.o

  CC      miscutils/strings.o

  CC      libbb/makedev.o

  CC      libbb/match_fstype.o

  CC      miscutils/time.o

  CC      libbb/md5.o

  CC      miscutils/ttysize.o

  CC      libbb/messages.o

  CC      miscutils/watchdog.o

  AR      miscutils/lib.a

  CC      libbb/mode_string.o

  LD      modutils/built-in.o

  CC      modutils/insmod.o

  CC      libbb/mtab.o

  CC      modutils/lsmod.o

  CC      libbb/mtab_file.o

  CC      modutils/modprobe.o

  CC      libbb/obscure.o

  CC      modutils/rmmod.o

  CC      libbb/parse_mode.o

  AR      modutils/lib.a

  LD      networking/built-in.o

  CC      networking/arp.o

  CC      libbb/perror_msg.o

  CC      networking/arping.o

  CC      libbb/perror_msg_and_die.o

  CC      networking/dnsd.o

  CC      libbb/perror_nomsg.o

  CC      libbb/perror_nomsg_and_die.o

  CC      libbb/pidfile.o

  CC      networking/ether-wake.o

  CC      libbb/process_escape_sequence.o

  CC      networking/hostname.o

  CC      libbb/procps.o

  CC      networking/httpd.o

  CC      libbb/pw_encrypt.o

  CC      networking/ifconfig.o

  CC      libbb/read.o

  CC      networking/ifupdown.o

  CC      libbb/recursive_action.o

  CC      networking/interface.o

  CC      libbb/remove_file.o

  CC      networking/ip.o

  CC      libbb/restricted_shell.o

  CC      networking/isrv.o

  CC      libbb/run_shell.o

  CC      networking/isrv_identd.o

  CC      libbb/safe_poll.o

  CC      networking/nameif.o

  CC      libbb/safe_strncpy.o

  CC      networking/nc.o

  CC      libbb/safe_write.o

  CC      networking/netstat.o

  CC      libbb/setup_environment.o

  CC      networking/nslookup.o

  CC      libbb/sha1.o

  CC      networking/ping.o

  CC      libbb/simplify_path.o

  CC      networking/pscan.o

  CC      libbb/skip_whitespace.o

  CC      networking/route.o

  CC      libbb/speed_table.o

  CC      networking/slattach.o

  CC      libbb/str_tolower.o

  CC      networking/telnet.o

  CC      libbb/time.o

  CC      networking/telnetd.o

libbb/time.c: In function 'monotonic_us':

libbb/time.c:20: error: '__NR_clock_gettime' undeclared (first use in this
function)

libbb/time.c:20: error: (Each undeclared identifier is reported only once

libbb/time.c:20: error: for each function it appears in.)

libbb/time.c: In function 'monotonic_sec':

libbb/time.c:27: error: '__NR_clock_gettime' undeclared (first use in this
function)

make[1]: *** [libbb/time.o] Error 1

make: *** [libbb] Error 2

make: *** Waiting for unfinished jobs....

  CC      networking/traceroute.o

  CC      networking/vconfig.o

  CC      networking/wget.o

  CC      networking/zcip.o

  AR      networking/lib.a

 * 

 * ERROR: sys-apps/busybox-1.8.2 failed.

 * Call stack:

 *              ebuild.sh, line 1701:  Called dyn_compile

 *              ebuild.sh, line 1039:  Called qa_call
'src_compile'

 *              ebuild.sh, line   44:  Called src_compile

 *   busybox-1.8.2.ebuild, line  159:  Called die

 * The specific snippet of code:

 *   	emake busybox || die "build failed"

 *  The die message:

 *   build failed

 * 

 * If you need support, post the topmost build error, and the
call stack if relevant.

 * A complete build log is located at
'/var/tmp/portage/sys-apps/busybox-1.8.2/temp/build.log'.

 * 

Portage 2.1.3.19 (uclibc/x86/2005.1, gcc-4.1.2, uclibc-0.9.28.3-r0,
2.6.23-gentoo-r6 i686)
=================================================================
System uname: 2.6.23-gentoo-r6 i686 AMD Athlon(tm) 64 X2 Dual-Core
Processor TK-55
Timestamp of tree: Thu, 07 Feb 2008 14:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i586-gentoo-linux-uclibc"
CFLAGS="-march=i586 -Os -pipe -fomit-frame-pointer -mmmx"
CHOST="i586-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i586 -Os -pipe -fomit-frame-pointer -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer nodoc
noinfo noman parallel-fetch sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bitmap-fonts cli cracklib dri midi minimal mmx mudflap ncurses openmp
pcre png readline reflection session sockets spl truetype-fonts type1-fonts
uclibc x86 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif
speling status unique_id userdir usertrack vhost_alias" ELIBC="uclibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
USERLAND="GNU" VIDEO_CARDS="chips"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

====================================================================== 

---------------------------------------------------------------------- 
 vapier - 02-07-08 16:29  
---------------------------------------------------------------------- 
your uclibc is too old 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-07-08 15:38  cedric         New Issue                                    
02-07-08 15:38  cedric         Status                   new => assigned     
02-07-08 15:38  cedric         Assigned To               => BusyBox         
02-07-08 15:38  cedric         File Added: build.log                        
02-07-08 16:29  vapier         Note Added: 0003734                          
02-07-08 16:29  vapier         Status                   assigned => closed  
02-07-08 16:29  vapier         Resolution               open => no change
required
======================================================================




More information about the busybox-cvs mailing list