[Olsr-dev] 0.5.2 uploaded to debian

Holger Levsen (spam-protected)
Thu Aug 2 17:31:55 CEST 2007


Moin,

On Thursday 02 August 2007 15:31, Bernd Petrovitsch wrote:
> The last two "releases" weren't too great (except the spf-refactoring -
> which wasn't from me).

Ah. Then push a 0.5.3 out now? Release early, release often :)


> BTW without

It seems something is missing here..

> BTW: I can compile (and link) olsrd on Alpha without the "-fPIC" without
> error. We have in make/Makefile.linux already

Strange. Unfortunatly the alpha-boxes for debian developers are currently 
down, so I cannot easily try...

> ----  snip  ----
> ifeq ($(ARCH),x86_64)
> GENERATE_PIC = true
> endif
> ifeq ($(ARCH),alpha)
> GENERATE_PIC = true
> endif
>
> ifdef GENERATE_PIC
> CFLAGS +=       -fPIC
> LDFLAGS +=      -fPIC
> endif
> ----  snip  ----
> which should take care of Alphas. If I know the output of "uname -m" on
> HPPA, I can add that too.

"uname -m" gives "alpha" on alpha and "parisc64" on hppa.

> But that doesn't answer the question, why the build of the package
> breaks. Does "uname -m" no longer print "alpha" on Alphas?

It does. There must be some other problem :)

> Hmm, http://buildd.debian.org/~jeroen/status/package.php?p=olsrd shows
> errors for IA64 and HPPA (and Alpha is "building").
>
> Hmm, I have no IA64 or HPPA hardware somewhere. Is it enough to add
> those two to the "-fPIC" hardware?

According to
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=19;filename=olsrd-404899.diff;att=1;bug=404899
you need to change two things:

--- olsrd-0.4.10.orig/src/cfgparser/Makefile
+++ olsrd-0.4.10/src/cfgparser/Makefile
@@ -55,6 +55,7 @@
 
 LIBNAME ?=	olsrd_cfgparser.so.0.1
 BINNAME ?=	olsrd_cfgparser
+CFLAGS += -fPIC
 
 endif
 
@@ -71,7 +72,7 @@
 ifeq (${OS}, osx)
 LDFLAGS += -dynamiclib -single_module
 else
-LDFLAGS +=	-shared -Wl,-soname,$(LIBNAME)
+LDFLAGS +=	-fPIC -shared -Wl,-soname,$(LIBNAME)
 endif
 
 CFLAGS +=	-DMAKELIB



And then it built on alpha.

> > If you dont want to do that, for whatever reasons, fine. It's your
> > project,
> I don't think it's "mine" - I just happen to be the guy doing something.

I actually ment "you" more in the plural form and to distinguish from myself. 
I'm just a maintainer for a distribution, I'd be happy if you release a new 
version, as it saves me work and/or fixes bugs for me, but who am I to demand 
a new release :)

It just seems to me that CVS-HEAD has some nice fixes which would warrant a 
0.5.3 version ;)


regards,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20070802/82f81342/attachment.sig>


More information about the Olsr-dev mailing list