Modify

Opened 3 years ago

Closed 3 years ago

#18148 closed defect (worksforme)

Missing stime and settimeofday symbols

Reported by: saironiq@… Owned by: developers
Priority: normal Milestone:
Component: base system Version: Trunk
Keywords: ntpd, date, stime, settimeofday Cc:

Description

root@OpenWrt:~# date
Thu Jan  1 00:22:03 UTC 1970

root@OpenWrt:~# ntpd -n -q -N -p ntp.xs4all.nl
ntpd: can't resolve symbol 'settimeofday' in lib 'ntpd'.

root@OpenWrt:~# date -s '2014-10-17 02:15:00'
date: can't resolve symbol 'stime' in lib 'date'.

root@OpenWrt:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='Bleeding Edge'
DISTRIB_REVISION='r42850'
DISTRIB_CODENAME='chaos_calmer'
DISTRIB_TARGET='ar71xx/generic'
DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer r42850'
DISTRIB_TAINTS='no-all no-ipv6'

Toaster model: TL-WR703N

Attachments (1)

diffconfig.txt.gz (4.6 KB) - added by saironiq@… 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 3 years ago by jow

Attach the output of ./scripts/diffconfig.sh

Changed 3 years ago by saironiq@…

comment:2 Changed 3 years ago by saironiq@…

[bump to fix "last modified" date of ticket after attaching a file]

Could be one of those? Although it's weird that everything else I've tried works fine.

CONFIG_STRIP_KERNEL_EXPORTS=y
CONFIG_USE_MKLIBS=y

comment:3 Changed 3 years ago by jow

Yes it is most likely due to mklibs. Did you build ntpd at the same time as the image you flashed?

comment:4 Changed 3 years ago by saironiq@…

Yeah, I did. Will try building without that.
Thanks for your help!

comment:5 Changed 3 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.