On 15/02/2014 21:58, Ken Moffat wrote:
>   I found some past links which led me to believe the missing xdr_
> symbols were all related to static linking to old libtirpc from an
> old glibc.  Passing LIBS="-ltirpc " when configuring aymptote (the
> space in that string is important) caused an interesting afternoon
> dealing with the consequential configury breakage.
>
>   I've now built it three times like this (and also with most of
> xindy), so I'm fairly sure what I've committed works.  Just like
> the old days in cross-lfs, having to use config.cache:)
>
> ĸen
Im working on this ATM and will continue after some shut eye (00:30)
ive bumped libtirpc to 0.24 [0.25-rc1 is avail FYI] it has extended XDR
support indeed and portablexdr is no longer needed i can confirm further
the space is indeed critical.

messing with config.cache is sure the swiss army knife [or rather sledge 
hammer] to
get something built esp when cross compiling to a non native platform.

looking at your patch i took the easy way out and added a include :D.
although your patch removes portability it seems more efficient.

index 5137307..d43dccd 100644
--- a/utils/asymptote/interact.cc
+++ b/utils/asymptote/interact.cc
@@ -13,6 +13,7 @@
  #include <unistd.h>
  #include <csignal>
  #include <cstdio>
+#include <cstring>

  #include "interact.h"
  #include "runhistory.h"
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to