* [STABLE][PATCH] flite-1.3: use LDFLAGS (fixes QA error)
@ 2009-04-06 16:48 Jeremy Lainé
2009-04-08 2:49 ` Mike (mwester)
0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Lainé @ 2009-04-06 16:48 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jeremy Lainé
From: Jeremy Lainé <jeremy.laine@m4x.org>
Signed-off-by: Jeremy Lainé <jeremy.laine@m4x.org>
---
recipes/flite/flite-1.3/flite-1.3-Makefile.patch | 3 ++-
recipes/flite/flite_1.3.bb | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/recipes/flite/flite-1.3/flite-1.3-Makefile.patch b/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
index 9a1a82e..5b532fd 100644
--- a/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
+++ b/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
@@ -317,9 +317,10 @@ Index: config/common_make_rules
@ rm -rf shared_os && mkdir shared_os
@ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
@ (cd shared_os && ar x ../$<)
- @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
+- @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
- @ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
- @ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
++ @ (cd shared_os && $(CC) $(LDFLAGS) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
+ #@ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
+ #@ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
+ @ ln -s $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
diff --git a/recipes/flite/flite_1.3.bb b/recipes/flite/flite_1.3.bb
index 360ccb0..b553689 100644
--- a/recipes/flite/flite_1.3.bb
+++ b/recipes/flite/flite_1.3.bb
@@ -1,6 +1,6 @@
require flite.inc
-PR = "r3"
+PR = "r4"
EXTRA_OECONF = "--with-audio=oss --enable-shared"
--
1.6.2.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [STABLE][PATCH] flite-1.3: use LDFLAGS (fixes QA error)
2009-04-06 16:48 [STABLE][PATCH] flite-1.3: use LDFLAGS (fixes QA error) Jeremy Lainé
@ 2009-04-08 2:49 ` Mike (mwester)
2009-04-08 10:05 ` Jeremy Lainé
0 siblings, 1 reply; 3+ messages in thread
From: Mike (mwester) @ 2009-04-08 2:49 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jeremy Lainé
Jeremy Lainé wrote:
> From: Jeremy Lainé <jeremy.laine@m4x.org>
>
>
> Signed-off-by: Jeremy Lainé <jeremy.laine@m4x.org>
> ---
> recipes/flite/flite-1.3/flite-1.3-Makefile.patch | 3 ++-
> recipes/flite/flite_1.3.bb | 2 +-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/flite/flite-1.3/flite-1.3-Makefile.patch b/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
> index 9a1a82e..5b532fd 100644
> --- a/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
> +++ b/recipes/flite/flite-1.3/flite-1.3-Makefile.patch
> @@ -317,9 +317,10 @@ Index: config/common_make_rules
> @ rm -rf shared_os && mkdir shared_os
> @ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
> @ (cd shared_os && ar x ../$<)
> - @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
> +- @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
> - @ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
> - @ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
> ++ @ (cd shared_os && $(CC) $(LDFLAGS) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
> + #@ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
> + #@ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
> + @ ln -s $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
> diff --git a/recipes/flite/flite_1.3.bb b/recipes/flite/flite_1.3.bb
> index 360ccb0..b553689 100644
> --- a/recipes/flite/flite_1.3.bb
> +++ b/recipes/flite/flite_1.3.bb
> @@ -1,6 +1,6 @@
> require flite.inc
>
> -PR = "r3"
> +PR = "r4"
>
> EXTRA_OECONF = "--with-audio=oss --enable-shared"
>
Results in:
NOTE: make INSTALLBINDIR=/u/slug/slugos/tmp/work/armv5teb-linux-gnueabi/flite-1.3-r4/image/usr/bin INSTALLLIBDIR=/u/slug/slugos/tmp/work/armv5teb-linux-gnueabi/flite-1.3-r4/image/usr/lib INSTALLINCDIR=/u/slug/slugos/tmp/work/armv5teb-linux-gnueabi/flite-1.3-r4/image/usr/include install
Installing
mkdir -p /u/slug/slugos/tmp/work/armv5teb-linux-gnueabi/flite-1.3-r4/image/usr/bin
mkdir -p /u/slug/slugos/tmp/work/armv5teb-linux-gnueabi/flite-1.3-r4/image/usr/lib
mkdir -p /u/slug/slugos/tmp/work/armv5teb-linux-gnueabi/flite-1.3-r4/image/usr/include
/u/slug/slugos/tmp/staging/i686-linux/usr/bin/install -c -m 644 include/*.h /u/slug/slugos/tmp/work/armv5teb-linux-gnueabi/flite-1.3-r4/image/usr/include
`../build/armeb-linux-gnueabi/lib/libflite.a' -> `./libflite.a'
`../build/armeb-linux-gnueabi/lib/libflite.shared.a' -> `./libflite.shared.a'
`../build/armeb-linux-gnueabi/lib/libflite_cmu_time_awb.a' -> `./libflite_cmu_time_awb.a'
`../build/armeb-linux-gnueabi/lib/libflite_cmu_time_awb.shared.a' -> `./libflite_cmu_time_awb.shared.a'
`../build/armeb-linux-gnueabi/lib/libflite_cmu_us_kal.a' -> `./libflite_cmu_us_kal.a'
`../build/armeb-linux-gnueabi/lib/libflite_cmu_us_kal.shared.a' -> `./libflite_cmu_us_kal.shared.a'
`../build/armeb-linux-gnueabi/lib/libflite_cmu_us_kal16.a' -> `./libflite_cmu_us_kal16.a'
`../build/armeb-linux-gnueabi/lib/libflite_cmu_us_kal16.shared.a' -> `./libflite_cmu_us_kal16.shared.a'
`../build/armeb-linux-gnueabi/lib/libflite_cmulex.a' -> `./libflite_cmulex.a'
`../build/armeb-linux-gnueabi/lib/libflite_cmulex.shared.a' -> `./libflite_cmulex.shared.a'
`../build/armeb-linux-gnueabi/lib/libflite_usenglish.a' -> `./libflite_usenglish.a'
`../build/armeb-linux-gnueabi/lib/libflite_usenglish.shared.a' -> `./libflite_usenglish.shared.a'
making libflite.so
/u/slug/slugos/tmp/cross/armv5teb/lib/gcc/armeb-linux-gnueabi/4.2.4/../../../../armeb-linux-gnueabi/bin/ld: cannot find -lflite
collect2: ld returned 1 exit status
make[2]: *** [libflite.so] Error 1
make[1]: *** [install] Error 2
make: *** [install] Error 2
FATAL: oe_runmake failed
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [STABLE][PATCH] flite-1.3: use LDFLAGS (fixes QA error)
2009-04-08 2:49 ` Mike (mwester)
@ 2009-04-08 10:05 ` Jeremy Lainé
0 siblings, 0 replies; 3+ messages in thread
From: Jeremy Lainé @ 2009-04-08 10:05 UTC (permalink / raw)
To: openembedded-devel, mwester
Could you try again with flite-1.3-r5 please, this should be fixed.
--
Jeremy LAINE
Bolloré telecom | 11bis, rue Scribe | F-75009 Paris
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-08 10:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 16:48 [STABLE][PATCH] flite-1.3: use LDFLAGS (fixes QA error) Jeremy Lainé
2009-04-08 2:49 ` Mike (mwester)
2009-04-08 10:05 ` Jeremy Lainé
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.