tags 593486 + patch
thanks

* Jakub Wilk <jw...@debian.org>, 2010-08-18, 17:29:
yagiuda fails to build from source on mips[0] and mipsel[1] (likely because of bug #519006):

| mips-linux-gnu-gcc  -Wall -g -O2   -o yagi  yagi.o fill_v_vector.o 
get_number_of_elements.o getfiles.o nrutil.o string.o read_yagi_data.o self.o 
mutual.o fill_z_matrix.o cis_hack.o com_hack.o lud_hack.o lub_hack.o 
write_header_to_disk.o write_coordinates.o print_z_matrix.o version.o getopt.o 
usage_yagi.o mpr_hack.o self2.o cin.o ci.o display_antenna_currents.o  -lm
| /usr/bin/ld: non-dynamic relocations refer to dynamic symbol optopt@@GLIBC_2.0
| /usr/bin/ld: failed to set dynamic section sizes: Bad value
| collect2: ld returned 1 exit status

The attached patch fixes this bug.

--
Jakub Wilk
--- yagiuda-1.19.orig/src/getopt.c
+++ yagiuda-1.19/src/getopt.c
@@ -35,7 +35,7 @@
 
 int     opterr = 1;
 int     optind = 1;
-int     optopt;
+static int optopt;
 char    *optarg;
 
 void ERR(char *s, char c, char **argv)  

Attachment: signature.asc
Description: Digital signature

Reply via email to