supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* s6-portable-utils-1.0.0 compile error
@ 2013-05-14 20:17 Vallo Kallaste
  2013-05-15  8:01 ` Laurent Bercot
  0 siblings, 1 reply; 2+ messages in thread
From: Vallo Kallaste @ 2013-05-14 20:17 UTC (permalink / raw)
  To: supervision

Hi

This seems to be corner case as I have never before set the
flag-usert, flag-usemon, flag-noipv6, flag-forcedevr flags for
skalibs.

exec ./compile s6-ln.c
exec ./load s6-ln -lrandom -lstdcrypto -lstddjb `cat socket.lib`
/package/prog/skalibs/library/libstddjb.a(taia_clockmon.o): In function `taia_clockmon':
taia_clockmon.c:(.text+0x22): undefined reference to `clock_gettime'
/package/prog/skalibs/library/libstddjb.a(taia_clockmon.o): In function `taia_clockmon_init':
taia_clockmon.c:(.text+0xce): undefined reference to `clock_gettime'
/package/prog/skalibs/library/libstddjb.a(sysclock_get.o): In function `sysclock_get':
sysclock_get.c:(.text+0x21): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [s6-ln] Error 1
make[2]: Leaving directory `/package/admin/s6-portable-utils-1.0.0/compile/skaembutils'
make[1]: *** [.done] Error 2
make[1]: Leaving directory `/package/admin/s6-portable-utils-1.0.0/compile/skaembutils'
make: *** [.done] Error 2

-- 
Vallo


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: s6-portable-utils-1.0.0 compile error
  2013-05-14 20:17 s6-portable-utils-1.0.0 compile error Vallo Kallaste
@ 2013-05-15  8:01 ` Laurent Bercot
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Bercot @ 2013-05-15  8:01 UTC (permalink / raw)
  To: skaware, supervision

> exec ./load s6-ln -lrandom -lstdcrypto -lstddjb `cat socket.lib`
> /package/prog/skalibs/library/libstddjb.a(taia_clockmon.o): In function `taia_clockmon':
> taia_clockmon.c:(.text+0x22): undefined reference to `clock_gettime'

 This stumps me. The s6-ln code *should not* pull in taia_clockmon or
taia_clockmon_init, ever - it is not calling any time-related function !
 Thanks for the report, I will investigate.

 For non-supervision-related skarnet.org software, please use the
skaware@skarnet.org mailing-list. ;)

-- 
 Laurent


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-15  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-14 20:17 s6-portable-utils-1.0.0 compile error Vallo Kallaste
2013-05-15  8:01 ` Laurent Bercot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).