Package: xppaut
Version: 5.85-3
Severity: normal
Tags: patch

When building 'xppaut' on amd64/unstable with gcc-4.0,
I get the following error:

gcc -DAUTO -o xppaut main.o ggets.o menu.o  rubber.o derived.o many_pops.o  
pop_list.o  graphics.o dialog_box.o numerics.o choice_box.o color.o 
init_conds.o browse.o kinescope.o axes2.o abort.o parser2.o storage.o 
load_eqn.o form_ode.o odesol2.o gear.o eig_list.o integrate.o delay_handle.o 
graf_par.o dormpri.o my_ps.o nullcline.o torus.o pp_shoot.o lunch-new.o calc.o 
adj2.o  my_rhs.o read_dir.o volterra2.o tabular.o markov.o histogram.o 
comline.o edit_rhs.o do_fit.o flags.o del_stab.o stiff.o arrayplot.o 
array_print.o aniparse.o simplenet.o dae_fun.o fftn.o extra.o scrngif.o 
nagroutines.o homsup.o txtread.o menudrive.o userbut.o  autlib1.o autlib2.o 
autlib3.o autevd.o run_auto.o autpp.o diagram.o auto_nox.o auto_x11.o 
flowkm_small.o  -L/usr/X11R6/lib libcvode.a libf2cm.a   -lX11 -lm -ldl          
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: BFD 2.15 assertion fail ../../bfd/elflink.c:6081
make[1]: *** [xppaut] Error 1
make[1]: Leaving directory `/xppaut-5.85'
make: *** [build-stamp] Error 2

With the attached patch 'xppaut' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xppaut-5.85/libI77/f2c.h ./libI77/f2c.h
--- ../tmp-orig/xppaut-5.85/libI77/f2c.h        2001-04-12 22:17:56.000000000 
+0200
+++ ./libI77/f2c.h      2004-09-27 16:24:22.566373728 +0200
@@ -7,6 +7,8 @@
 #ifndef F2C_INCLUDE
 #define F2C_INCLUDE
 
+#include <errno.h>
+
 typedef int integer;
 typedef char *address;
 typedef short int shortint;
diff -urN ../tmp-orig/xppaut-5.85/main.c ./main.c
--- ../tmp-orig/xppaut-5.85/main.c      2003-06-23 17:27:56.000000000 +0200
+++ ./main.c    2004-09-27 16:24:39.692770120 +0200
@@ -32,6 +32,7 @@
 #include "pp.bitmap"
 #include <stdio.h>
 #include <stdlib.h>
+#include <errno.h>
 #include "help_defs.h"
 #include "browse.h"
 #include "struct.h"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to