[elinks-users] [ANNOUNCE] elinks-0.5pre10 (Skyrider)

Bennett Todd bet at rahul.net
Mon Nov 17 06:49:27 PST 2003


Static building seems to have some oddments.

On Red Hat 8, pre10 builds static fine.

On Red Hat 9, pre10 fails to build static (messages appended).

Curiously, on Red Hat 9, pre8 actually built dynamic with the
commands I use to build static successfully on Red Hat 8:

    LDFLAGS=-static ./configure --prefix=/usr --with-gnutls --without-openssl \
	--mandir=/usr/share/man --without-gpm --without-lua --disable-ipv6 \
	--disable-mouse
    LDFLAGS=-static make

I just hadn't noticed. I'm not even sure there's anything specific
to links here (aside from the static link producing a dynamic
binary with pre8); for all I know, this could really be purely a
problem with my build environments.

pre10 on Red Hat 9 errors appended, screen capture with screen(1)
hardcopy, so some line wrapping.

-Bennett

gcc -DHAVE_CONFIG_H -I`dirname ../../../config.h` -I../../../src    -g -O2 -Wall -Iyes/include -I/usr/include -fno-strict-aliasi
ng -c vs.c
rm -f libviewer_text.a
ar cru libviewer_text.a form.o link.o search.o textarea.o view.o vs.o
ranlib libviewer_text.a
make[4]: Leaving directory `/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src/viewer/text'
make[4]: Entering directory `/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src/viewer'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src/viewer'
make[3]: Leaving directory `/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src/viewer'
make[3]: Entering directory `/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src'
gcc -DHAVE_CONFIG_H -I`dirname ../config.h` -I../src    -g -O2 -Wall -Iyes/include -I/usr/include -fno-strict-aliasing -c main.c
gcc  -g -O2 -Wall -Iyes/include -I/usr/include -fno-strict-aliasing -static -rdynamic -L/usr/X11R6/lib -o elinks  main.o ../src/
intl/gettext/libintl.a   modules/libmodules.a  cookies/libcookies.a  viewer/text/libviewer_text.a  viewer/dump/libviewer_dump.a
 cache/libcache.a  document/libdocument.a  intl/libintl.a  sched/libsched.a  lowlevel/liblowlevel.a  terminal/libterminal.a  mim
e/libmime.a  scripting/libscripting.a  scripting/guile/libscriptingguile.a  scripting/lua/libscriptinglua.a  osdep/libosdep.a  p
rotocol/libprotocol.a  protocol/http/libhttp.a  ssl/libssl.a  bookmarks/libbookmarks.a  formhist/libformhist.a  globhist/libglob
hist.a  config/libconfig.a  dialogs/libdialogs.a  bfu/libbfu.a  util/libutil.a -lX11 -lz -L/usr/lib -lgnutls -lgcrypt -lexpat -l
bz2 -lz -ldl
/usr/lib/libc.a(dcigettext.o)(.text+0x684): In function `_nl_find_msg':
: multiple definition of `_nl_find_msg'
../src/intl/gettext/libintl.a(dcigettext.o)(.text+0x538):/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src/intl/gettext/dcigettex
t.c:563: first defined here
/usr/bin/ld: Warning: size of symbol `_nl_find_msg' changed from 1240 to 1361 in /usr/lib/libc.a(dcigettext.o)
sched/libsched.a(download.o)(.text+0x1af1): In function `get_temp_name':
/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src/sched/download.c:876: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x85a): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc21): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc3a): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc56): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc73): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xd06): more undefined references to `pthread_equal' follow
collect2: ld returned 1 exit status
make[3]: *** [elinks] Error 1
make[3]: Leaving directory `/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/bpmbuild.6079/build/elinks-0.5pre10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/bpmbuild.6079/build/elinks-0.5pre10'
make: *** [all-recursive-am] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/elinks-users/attachments/20031117/bf4b2817/attachment.sig>


More information about the elinks-users mailing list