From: Michael Smith <msmith@cbnco.com>
To: openembedded-devel@lists.openembedded.org
Subject: Building xserver-xorg 1.6.1 for i686: libtool error
Date: Fri, 10 Jul 2009 14:31:15 -0400 [thread overview]
Message-ID: <4A5788F3.2080805@cbnco.com> (raw)
Hi,
On my x86_64 build box, xserver-xorg's configure is generating
i686-oe-linux-libtool instead of libtool, but the doltlibtool script is
still looking for plain old libtool.
I worked around it with a symlink.
Wondering if anyone has a pointer where I can look to solve it
permanently. It looks like libtool.m4 is setting
ofile=${host_alias}-libtool, but xserver-xorg's acinclude.m4 is "dolt, a
replacement for libtool" and it doesn't have the same ideas about what
libtool should be called.
Thanks,
Mike
../doltlibtool --tag=CC --mode=link i686-oe-linux-gcc
-march=pentiumpro -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE
[blah blah blah]
-Wl,-O1 -Wl,--hash-style=gnu -ldl -o libdix.la atom.lo colormap.lo
[blah blah]
../doltlibtool: line 17:
/home/michael/startitup/tmp/work/i686-oe-linux/xserver-xorg-2_1.6.1-r1/xorg-server-1.6.1/dix/../libtool:
No such file or directory
../doltlibtool: line 17: exec:
/home/michael/startitup/tmp/work/i686-oe-linux/xserver-xorg-2_1.6.1-r1/xorg-server-1.6.1/dix/../libtool:
cannot execute: No such file or directory
make[2]: *** [libdix.la] Error 126
$ cat doltlibtool
#!/bin/bash
top_builddir_slash="${0%%doltlibtool}"
: ${top_builddir_slash:=./}
args=()
modeok=false
tagok=false
for arg in "$@"; do
case "$arg" in
--mode=compile) modeok=true ;;
--tag=CC|--tag=CXX) tagok=true ;;
*) args[${#args[@]}]="$arg" ;;
esac
done
if $modeok && $tagok ; then
. ${top_builddir_slash}doltcompile "${args[@]}"
else
exec ${top_builddir_slash}libtool "$@"
fi
next reply other threads:[~2009-07-10 18:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-10 18:31 Michael Smith [this message]
2009-07-11 20:40 ` Building xserver-xorg 1.6.1 for i686: libtool error Otavio Salvador
2009-07-12 21:55 ` Michael Smith
2009-07-12 21:59 ` [PATCH] xserver-xorg 1.6.1: fix dolt script to handle ${host_alias} Michael Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A5788F3.2080805@cbnco.com \
--to=msmith@cbnco.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox