* [Xenomai-core] [PATCH] build system: Fix shared libs generation
@ 2009-10-29 10:40 Jan Kiszka
2009-10-29 11:33 ` [Xenomai-core] [PATCH v2] " Jan Kiszka
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2009-10-29 10:40 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai-core, Gernot Hillier
This fixes a regression of dbbd33f50d: There must be no
AC_DISABLE_SHARED without AS_ENABLE_SHARED for the cases where it shall
remain enabled. Autotools are great, aren't they?
Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---
configure.in | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/configure.in b/configure.in
index 71bad26..50f390e 100644
--- a/configure.in
+++ b/configure.in
@@ -110,7 +110,6 @@ case "$build_for" in
XENO_TARGET_ARCH=nios2
XENO_LINUX_ARCH=nios2
XENO_LINUX_INSTALL_TARGET=install
- AC_DISABLE_SHARED
;;
*) echo ""
echo "*******************************************"
@@ -121,9 +120,18 @@ case "$build_for" in
esac
AC_MSG_RESULT([$XENO_TARGET_ARCH])
-AC_PROG_LIBTOOL
AM_CONDITIONAL(XENO_LINUX_ARCH_I386,[test $XENO_LINUX_ARCH = i386])
+case "$XENO_TARGET_ARCH" in
+ nios2)
+ AC_DISABLE_SHARED
+ ;;
+ *)
+ AC_ENABLE_SHARED
+ ;;
+esac
+AC_PROG_LIBTOOL
+
dnl
dnl Parse options
dnl
--
1.6.0.2
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Xenomai-core] [PATCH v2] build system: Fix shared libs generation
2009-10-29 10:40 [Xenomai-core] [PATCH] build system: Fix shared libs generation Jan Kiszka
@ 2009-10-29 11:33 ` Jan Kiszka
2009-10-29 13:59 ` Philippe Gerum
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2009-10-29 11:33 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai-core, Gernot Hillier
This fixes a regression of dbbd33f50d: There must be no
AC_DISABLE_SHARED without AS_ENABLE_SHARED for the cases where it shall
remain enabled.
Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---
configure.in | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
v2: properly rebased against head
diff --git a/configure.in b/configure.in
index 40683fe..9cce885 100644
--- a/configure.in
+++ b/configure.in
@@ -117,7 +117,6 @@ case "$build_for" in
XENO_LINUX_ARCH=nios2
XENO_LINUX_INSTALL_TARGET=install
CONFIG_XENO_DEFAULT_PERIOD=10000000
- AC_DISABLE_SHARED
;;
*) echo ""
echo "*******************************************"
@@ -128,9 +127,18 @@ case "$build_for" in
esac
AC_MSG_RESULT([$XENO_TARGET_ARCH])
-AC_PROG_LIBTOOL
AM_CONDITIONAL(XENO_LINUX_ARCH_I386,[test $XENO_LINUX_ARCH = i386])
+case "$XENO_TARGET_ARCH" in
+ nios2)
+ AC_DISABLE_SHARED
+ ;;
+ *)
+ AC_ENABLE_SHARED
+ ;;
+esac
+AC_PROG_LIBTOOL
+
dnl
dnl Parse options
dnl
--
1.6.0.2
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [Xenomai-core] [PATCH v2] build system: Fix shared libs generation
2009-10-29 11:33 ` [Xenomai-core] [PATCH v2] " Jan Kiszka
@ 2009-10-29 13:59 ` Philippe Gerum
2009-10-29 14:05 ` Jan Kiszka
0 siblings, 1 reply; 6+ messages in thread
From: Philippe Gerum @ 2009-10-29 13:59 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai-core, Gernot Hillier
On Thu, 2009-10-29 at 12:33 +0100, Jan Kiszka wrote:
> This fixes a regression of dbbd33f50d: There must be no
> AC_DISABLE_SHARED without AS_ENABLE_SHARED for the cases where it shall
> remain enabled.
>
Makes sense. Will you queue this in your tree?
> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
> ---
> configure.in | 12 ++++++++++--
> 1 files changed, 10 insertions(+), 2 deletions(-)
>
> v2: properly rebased against head
>
> diff --git a/configure.in b/configure.in
> index 40683fe..9cce885 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -117,7 +117,6 @@ case "$build_for" in
> XENO_LINUX_ARCH=nios2
> XENO_LINUX_INSTALL_TARGET=install
> CONFIG_XENO_DEFAULT_PERIOD=10000000
> - AC_DISABLE_SHARED
> ;;
> *) echo ""
> echo "*******************************************"
> @@ -128,9 +127,18 @@ case "$build_for" in
> esac
>
> AC_MSG_RESULT([$XENO_TARGET_ARCH])
> -AC_PROG_LIBTOOL
> AM_CONDITIONAL(XENO_LINUX_ARCH_I386,[test $XENO_LINUX_ARCH = i386])
>
> +case "$XENO_TARGET_ARCH" in
> + nios2)
> + AC_DISABLE_SHARED
> + ;;
> + *)
> + AC_ENABLE_SHARED
> + ;;
> +esac
> +AC_PROG_LIBTOOL
> +
> dnl
> dnl Parse options
> dnl
--
Philippe.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai-core] [PATCH v2] build system: Fix shared libs generation
2009-10-29 13:59 ` Philippe Gerum
@ 2009-10-29 14:05 ` Jan Kiszka
0 siblings, 0 replies; 6+ messages in thread
From: Jan Kiszka @ 2009-10-29 14:05 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai-core, Hillier, Gernot
Philippe Gerum wrote:
> On Thu, 2009-10-29 at 12:33 +0100, Jan Kiszka wrote:
>> This fixes a regression of dbbd33f50d: There must be no
>> AC_DISABLE_SHARED without AS_ENABLE_SHARED for the cases where it shall
>> remain enabled.
>>
>
> Makes sense. Will you queue this in your tree?
Done, it's ready to be pulled.
Jan
>
>> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
>> ---
>> configure.in | 12 ++++++++++--
>> 1 files changed, 10 insertions(+), 2 deletions(-)
>>
>> v2: properly rebased against head
>>
>> diff --git a/configure.in b/configure.in
>> index 40683fe..9cce885 100644
>> --- a/configure.in
>> +++ b/configure.in
>> @@ -117,7 +117,6 @@ case "$build_for" in
>> XENO_LINUX_ARCH=nios2
>> XENO_LINUX_INSTALL_TARGET=install
>> CONFIG_XENO_DEFAULT_PERIOD=10000000
>> - AC_DISABLE_SHARED
>> ;;
>> *) echo ""
>> echo "*******************************************"
>> @@ -128,9 +127,18 @@ case "$build_for" in
>> esac
>>
>> AC_MSG_RESULT([$XENO_TARGET_ARCH])
>> -AC_PROG_LIBTOOL
>> AM_CONDITIONAL(XENO_LINUX_ARCH_I386,[test $XENO_LINUX_ARCH = i386])
>>
>> +case "$XENO_TARGET_ARCH" in
>> + nios2)
>> + AC_DISABLE_SHARED
>> + ;;
>> + *)
>> + AC_ENABLE_SHARED
>> + ;;
>> +esac
>> +AC_PROG_LIBTOOL
>> +
>> dnl
>> dnl Parse options
>> dnl
>
>
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai-core] [PATCH v2] build system: Fix shared libs generation
@ 2009-10-29 19:10 Stefan Schaal
2009-10-30 3:20 ` Stefan Schaal
0 siblings, 1 reply; 6+ messages in thread
From: Stefan Schaal @ 2009-10-29 19:10 UTC (permalink / raw)
To: xenomai
I tried the modified configure.in from the xenomai-head.git tree, but
still the *.so libraries are not generated. This is on a x86 running
the xenomai-2.5.rc4 under kernel 2.6.29.5.
-Stefan
> Posted by Jan Kiszka on October 29, 2009 - 15:05:
> Philippe Gerum wrote:
>
> On Thu, 2009-10-29 at 12:33 +0100, Jan Kiszka wrote:
>
> This fixes a regression of dbbd33f50d: There must be no
> AC_DISABLE_SHARED without AS_ENABLE_SHARED for the cases where it
> shall
> remain enabled.
>
>
> Makes sense. Will you queue this in your tree?
>
> Done, it's ready to be pulled.
>
> Jan
>
>
> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
> ---
> configure.in | 12 ++++++++++--
> 1 files changed, 10 insertions(+), 2 deletions(-)
>
> v2: properly rebased against head
>
> diff --git a/configure.in b/configure.in
> index 40683fe..9cce885 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -117,7 +117,6 @@ case "$build_for" in
> XENO_LINUX_ARCH=nios2
> XENO_LINUX_INSTALL_TARGET=install
> CONFIG_XENO_DEFAULT_PERIOD=10000000
> - AC_DISABLE_SHARED
> ;;
> *) echo ""
> echo "*******************************************"
> @@ -128,9 +127,18 @@ case "$build_for" in
> esac
>
> AC_MSG_RESULT([$XENO_TARGET_ARCH])
> -AC_PROG_LIBTOOL
> AM_CONDITIONAL(XENO_LINUX_ARCH_I386,[test $XENO_LINUX_ARCH = i386])
>
> +case "$XENO_TARGET_ARCH" in
> + nios2)
> + AC_DISABLE_SHARED
> + ;;
> + *)
> + AC_ENABLE_SHARED
> + ;;
> +esac
> +AC_PROG_LIBTOOL
> +
> dnl
> dnl Parse options
> dnl
>
>
> --
> Siemens AG, Corporate Technology, CT SE 2
> Corporate Competence Center Embedded Linux
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai-core] [PATCH v2] build system: Fix shared libs generation
2009-10-29 19:10 Stefan Schaal
@ 2009-10-30 3:20 ` Stefan Schaal
0 siblings, 0 replies; 6+ messages in thread
From: Stefan Schaal @ 2009-10-30 3:20 UTC (permalink / raw)
To: Stefan Schaal; +Cc: Jonas Buchli, Peter Pastor Sampedro, xenomai
OK, I seemingly needed to get the entire xenomai-head, not just the
configure.in . With the entire installation, the *.so compile again,
and everything looks good.
-Stefan
On Oct 29, 2009, at 12:10, Stefan Schaal wrote:
> I tried the modified configure.in from the xenomai-head.git tree,
> but still the *.so libraries are not generated. This is on a x86
> running the xenomai-2.5.rc4 under kernel 2.6.29.5.
>
> -Stefan
>
>
>
>> Posted by Jan Kiszka on October 29, 2009 - 15:05:
>> Philippe Gerum wrote:
>>
>> On Thu, 2009-10-29 at 12:33 +0100, Jan Kiszka wrote:
>>
>> This fixes a regression of dbbd33f50d: There must be no
>> AC_DISABLE_SHARED without AS_ENABLE_SHARED for the cases where it
>> shall
>> remain enabled.
>>
>>
>> Makes sense. Will you queue this in your tree?
>>
>> Done, it's ready to be pulled.
>>
>> Jan
>>
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
>> ---
>> configure.in | 12 ++++++++++--
>> 1 files changed, 10 insertions(+), 2 deletions(-)
>>
>> v2: properly rebased against head
>>
>> diff --git a/configure.in b/configure.in
>> index 40683fe..9cce885 100644
>> --- a/configure.in
>> +++ b/configure.in
>> @@ -117,7 +117,6 @@ case "$build_for" in
>> XENO_LINUX_ARCH=nios2
>> XENO_LINUX_INSTALL_TARGET=install
>> CONFIG_XENO_DEFAULT_PERIOD=10000000
>> - AC_DISABLE_SHARED
>> ;;
>> *) echo ""
>> echo "*******************************************"
>> @@ -128,9 +127,18 @@ case "$build_for" in
>> esac
>>
>> AC_MSG_RESULT([$XENO_TARGET_ARCH])
>> -AC_PROG_LIBTOOL
>> AM_CONDITIONAL(XENO_LINUX_ARCH_I386,[test $XENO_LINUX_ARCH = i386])
>>
>> +case "$XENO_TARGET_ARCH" in
>> + nios2)
>> + AC_DISABLE_SHARED
>> + ;;
>> + *)
>> + AC_ENABLE_SHARED
>> + ;;
>> +esac
>> +AC_PROG_LIBTOOL
>> +
>> dnl
>> dnl Parse options
>> dnl
>>
>>
>> --
>> Siemens AG, Corporate Technology, CT SE 2
>> Corporate Competence Center Embedded Linux
>>
>>
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-10-30 3:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 10:40 [Xenomai-core] [PATCH] build system: Fix shared libs generation Jan Kiszka
2009-10-29 11:33 ` [Xenomai-core] [PATCH v2] " Jan Kiszka
2009-10-29 13:59 ` Philippe Gerum
2009-10-29 14:05 ` Jan Kiszka
-- strict thread matches above, loose matches on Subject: below --
2009-10-29 19:10 Stefan Schaal
2009-10-30 3:20 ` Stefan Schaal
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.