[Simh] BUGREPORT: bm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'

Alexander Voropay alec at sensi.org
Tue May 27 09:35:23 EDT 2008


gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm -D_GNU_SOURCE -I .
Ibm1130/ibm1130_cpu.c Ibm1130/ibm1130_cr.c Ibm1130/ibm1130_disk.c
Ibm1130/ibm1130_stddev.c Ibm1130/ibm1130_sys.c Ibm1130/ibm1130_gdu.c
Ibm1130/ibm1130_gui.c Ibm1130/ibm1130_prt.c Ibm1130/ibm1130_fmt.c
Ibm1130/ibm1130_ptrp.c Ibm1130/ibm1130_plot.c Ibm1130/ibm1130_sca.c
Ibm1130/ibm1130_t2741.c scp.c sim_console.c sim_fio.c sim_timer.c
sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I Ibm1130 -o BIN/ibm1130
In file included from Ibm1130/ibm1130_cpu.c:141:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_cr.c:1:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_disk.c:36:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_stddev.c:85:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_sys.c:27:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_gdu.c:1:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_gui.c:33:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_prt.c:49:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_ptrp.c:20:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_plot.c:21:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_sca.c:85:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
In file included from Ibm1130/ibm1130_t2741.c:6:
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
Ibm1130/ibm1130_defs.h:30: error: conflicting types for 'strncasecmp'
/usr/include/string.h:71: error: previous declaration of 'strncasecmp' was here
make: *** [BIN/ibm1130] Error 1



More information about the Simh mailing list