[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libposix
From: |
Bruce Korb |
Subject: |
Re: libposix |
Date: |
Mon, 4 Oct 2010 08:02:39 -0700 |
Hi Bruno,
On Sun, Oct 3, 2010 at 5:26 PM, Bruno Haible <address@hidden> wrote:
>> libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
>
> This is just a warning that you can ignore.
I know. It is just ugly.
> Btw, in version.h the size of _libposix_git_version should not be exported
Fixed.
> With this, I think you should be able to get a bit further,
> and remove this code from your script
Further I got, finished, I didn't. "pt_chown" is required by libposix and
it depends upon clock_gettime and that isn't a POSIX module:
libtool: link: ar cru .libs/libposix.a areadlink.o areadlinkat.o
c-ctype.o c-strcasecmp.o c-strncasecmp.o close-hook.o exitfail.o
freading.o fseterr.o full-write.o localcharset.o glthread/lock.o
malloca.o openat-die.o printf-frexp.o printf-frexpl.o sockets.o
strnlen1.o glthread/threadlib.o glthread/tls.o tmpdir.o
unistr/u8-mbtoucr.o unistr/u8-uctomb.o unistr/u8-uctomb-aux.o
uniwidth/width.o xalloc-die.o asnprintf.o basename-lgpl.o chdir-long.o
cloexec.o dirname-lgpl.o dprintf.o dup-safer.o duplocale.o fcntl.o
fd-safer.o fflush.o filenamecat-lgpl.o fprintf.o fpurge.o fseek.o
fseeko.o futimens.o getcwd.o gettime.o glob.o ioctl.o isfinite.o
isnand.o isnanf.o isnanl.o linkat.o nanosleep.o openat-proc.o
pipe-safer.o printf.o printf-args.o printf-parse.o remove.o
safe-read.o safe-write.o save-cwd.o snprintf.o sprintf.o stripslash.o
strstr.o strtod.o tempname.o utimens.o utimensat.o vasnprintf.o
vdprintf.o vfprintf.o vprintf.o vsnprintf.o vsprintf.o xgetcwd.o
xmalloc.o
libtool: link: ranlib .libs/libposix.a
libtool: link: ( cd ".libs" && rm -f "libposix.la" && ln -s
"../libposix.la" "libposix.la" )
depbase=`echo pt_chown.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DGNULIB_STRICT_CHECKING=1 -g -O2 -MT pt_chown.o -MD -MP -MF
"$depbase.Tpo" -c -o pt_chown.o pt_chown.c; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f
"$depbase.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o pt_chown
pt_chown.o libposix.la
libtool: link: gcc -g -O2 -o .libs/pt_chown pt_chown.o
./.libs/libposix.so -Wl,-rpath -Wl,/usr/local/lib
./.libs/libposix.so: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[4]: *** [pt_chown] Error 1
make[4]: Leaving directory `/usr/local/src/gnulib/libposix/libposix/libposix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/gnulib/libposix/libposix/libposix'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/gnulib/libposix/libposix/libposix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnulib/libposix/libposix'
make: *** [all] Error 2
>build_distro> die 'make failed'
>die> echo 'mk-libposix error: make failed'
mk-libposix error: make failed
>die> trap '' EXIT
>die> kill -TERM 3424
Terminated
- libposix, Bruce Korb, 2010/10/03
- Re: libposix, Bruno Haible, 2010/10/03
- Re: libposix,
Bruce Korb <=
- Re: libposix, Bruce Korb, 2010/10/04
- Re: libposix, Bruno Haible, 2010/10/04
- Re: libposix, Eric Blake, 2010/10/04
- Re: libposix, Bruce Korb, 2010/10/04
- Re: libposix, Bruce Korb, 2010/10/04
- gnulib-tool and shared libraries (was: Re: libposix), Bruno Haible, 2010/10/04
- -no-undefined (was: libposix), Ralf Wildenhues, 2010/10/05
- Re: -no-undefined (was: libposix), Bruno Haible, 2010/10/05
- Re: -no-undefined (was: libposix), Ralf Wildenhues, 2010/10/05
- Re: -no-undefined (was: libposix), Bruno Haible, 2010/10/05