This is with elinks-0.11.1.
I've been trying to debug figure it out..
to answer how the lib.o is created... I think it is either of these:
--------------------
[EMAIL PROTECTED]/docs/downloads/elinks-0.11.1$ make -n -C src/intl/gettext/ |
grep lib\.o
echo " [LD] src/intl/gettext/lib.o" && ld -r -o lib.o
bindtextdom.o dcgettext.o dcigettext.o dcngettext.o dgettext.o
dngettext.o explodename.o finddomain.o gettext.o intl-compat.o
l10nflist.o libintl.o loadmsgcat.o localcharset.o localealias.o
ngettext.o plural.o textdomain.o
--------------------
[EMAIL PROTECTED]/docs/downloads/elinks-0.11.1$ make -n -C src/intl/
echo "[MAKE all] src/intl/gettext" && make -C gettext all || exit 1;
echo ' [CC] src/intl/charsets.o' && gcc -DHAVE_CONFIG_H -I../..
-I../.././src -g -O2 -Wall -fno-strict-aliasing -Wno-pointer-sign -o
charsets.o -Wp,-MD,.deps/charsets.pp -c charsets.c
if test -e .deps/charsets.pp; then \
cp .deps/charsets.pp .deps/charsets.P; \
tr ' ' '\012' < .deps/charsets.pp \
| sed -e 's/^\\$//' -e '/^$/ d' -e '/:$/ d' -e 's/$/ :/' \
>> .deps/charsets.P; \
rm .deps/charsets.pp; \
fi
echo " [LD] src/intl/lib.o" && ld -r -o lib.o charsets.o `test
-e gettext/lib.o && echo gettext/lib.o`
--------------------
Here is the command that runs that actually produces the error:
--------------------
[EMAIL PROTECTED]/docs/downloads/elinks-0.11.1/src$ gcc -g -O2 -Wall
-fno-strict-aliasing -Wno-pointer-sign -o elinks lib.o -lssl -lcrypto
-ldl -lz -lbz2 -liconv
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
lib.o definition of _locale_charset in section (__TEXT,__text)
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libiconv.dylib(localcharset.o)
definition of _locale_charset
--------------------
playing around with makefiles isn't one of my strong points and today
is the first day I've read make's man file but maybe something from
the above helps.
Clayton
On 6/28/06, Daniel Macks <[EMAIL PROTECTED]> wrote:
> elinks uses a mostly custom-written set of Makefiles...not surprising
> that they are not completely portable:( What version of elinks are you
> trying? Would be useful to see the whole command that failed (a
> "libtool", "gcc", or "ld" perhaps?) not just the error msg, and
> perhaps also an earlier command that created the lib.o file (probably
> contains "-i lib.o" in it).
Er, nevermind...looks like I don't even understand their build system
enough to diagnose it well:( Maybe someone else will figure it out.
All I really know is that elinks-0.10.4 appears to build using:
--without-gpm --without-lua --without-x
and using fink to supply the dependent libraries.
dan
--
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users