[oe-issues] [Bug 1544] New: makedevs does not pass LDFLAGS
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Wed Nov 1 14:27:44 UTC 2006
http://bugs.openembedded.org/show_bug.cgi?id=1544
Summary: makedevs does not pass LDFLAGS
Product: Openembedded
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: dev at settopsolutions.com
QAContact: tinderbox-oe at gmx.net
When attempting to compile makedevs using a prebuilt toolchain, oe chokes
saying:
warning: ld-linux.so.2, needed by
/usr/local/i586/oe/lib/gcc/i586-stv-linux/3.4.4/../../../../i586-stv-linux/lib/libdl.so,
not found (try using -rpath or -rpath-link)
when using a prebuilttoolchain, the LDFLAGS need to be altered which is usually
done in local.conf:
TARGET_LDFLAGS_prepend = " -L${PRE_BUILT}/lib -Wl,-rpath-link,${PRE_BUILT}/lib
"
these LDFLAGS need to be passed to makedevs. The following patch fixes this
problem:
/home/tom/stv/oe-stv/org.openembedded.dev/packages/makedevs/makedevs_1.0.0.bb
(revision 403)
+++
/home/tom/stv/oe-stv/org.openembedded.dev/packages/makedevs/makedevs_1.0.0.bb
(working copy)
@@ -11,7 +11,7 @@
}
do_compile() {
- ${CC} ${CFLAGS} -o ${S}/makedevs ${S}/makedevs.c
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c
}
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list