All of lore.kernel.org
 help / color / mirror / Atom feed
* error linking libpcre
@ 2009-09-08  9:34 Stuart Gray
  0 siblings, 0 replies; only message in thread
From: Stuart Gray @ 2009-09-08  9:34 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I am building an overo release using kernel 2.6.29. This build was working,
but due to some issues I decided to delete my tmp directory and start the
build again.

It failed at libpcre. I have made no changes in this area.

Here is the tail end of the log file do_compile:

arm-angstrom-linux-gnueabi-libtool: compile:  ccache
arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -DHAVE_CONFIG_H -I.
-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3
-fpermissive -fvisibility-inlines-hidden -MT pcre_stringpiece.lo -MD -MP -MF
.deps/pcre_stringpiece.Tpo -c pcre_stringpiece.cc  -fPIC -DPIC -o
.libs/pcre_stringpiece.o
arm-angstrom-linux-gnueabi-libtool: compile:  ccache
arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -DHAVE_CONFIG_H -I.
-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3
-fpermissive -fvisibility-inlines-hidden -MT pcre_stringpiece.lo -MD -MP -MF
.deps/pcre_stringpiece.Tpo -c pcre_stringpiece.cc -o pcre_stringpiece.o
>/dev/null 2>&1
mv -f .deps/pcre_stringpiece.Tpo .deps/pcre_stringpiece.Plo
/bin/sh ./arm-angstrom-linux-gnueabi-libtool --tag=CXX   --mode=link ccache
arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp
-isystem/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3
-fpermissive -fvisibility-inlines-hidden -version-info 0:0:0
-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
-Wl,-rpath-link,/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -Wl,--hash-style=gnu -o libpcrecpp.la -rpath /usr/lib pcrecpp.lo
pcre_scanner.lo pcre_stringpiece.lo libpcre.la
arm-angstrom-linux-gnueabi-libtool: link: ccache
arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -shared -nostdlib
/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o
/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/crtbeginS.o
.libs/pcrecpp.o .libs/pcre_scanner.o .libs/pcre_stringpiece.o   -Wl,-rpath
-Wl,/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libpcre-7.6-r4/pcre-7.6/.libs
-Wl,-rpath
-Wl,/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib
-Wl,-rpath
-Wl,/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib
-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
./.libs/libpcre.so
-L/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3
-L/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib
-L/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/lib
/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libstdc++.so
-L/home/stuart/overo-oe/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/lib -lm
-lc -lgcc_s
/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/crtendS.o
/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/crtn.o
-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
-Wl,-rpath-link
-Wl,/home/stuart/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -Wl,--hash-style=gnu   -Wl,-soname -Wl,libpcrecpp.so.0 -o
.libs/libpcrecpp.so.0.0.0
arm-angstrom-linux-gnueabi-g++:
/home/stuart/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libstdc++.so:
Too many levels of symbolic links
make[1]: *** [libpcrecpp.la] Error 1
make[1]: Leaving directory
`/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libpcre-7.6-r4/pcre-7.6'
make: *** [all] Error 2
FATAL: oe_runmake failed



When I look into the ....arm-angstrom-linux-gnueabi/lib directory I can see
two symbolic links., The libstdc++.so which links to libstdc++.so.6.

libstdc++.so.6 links to itself.    Not correct !!!!!

I believe it should link to the file libstdc++.so.6.0.10. Indeed if I copy
this file and rename it to libstdc++.so it will compile and link, but  this
does not fix my original problem it only masks it.


Why are the symbolic link targets not set up correctly?????



Any help would be great


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-09  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-08  9:34 error linking libpcre Stuart Gray

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.