Hi list,<br><br>I have problems compiling 5.0.1 on two separate machines. Absolutely nothing changed on the machines and on both the 5.0.0 version compiled with identical configure (and still does) and worked just fine.<br>
<br>The first one complains:<br><br>"/usr/local/include/agg2/agg_scanline_boolean_algebra.h:862: warning: 'span1' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:863: warning: 'span2' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h: In function 'void agg::sbool_unite_scanlines(const Scanline1&, const Scanline2&, Scanline&, AddSpanFunctor1, AddSpanFunctor2, CombineSpansFunctor) [with Scanline1 = agg::scanline_p8, Scanline2 = agg::scanline_p8, Scanline = agg::scanline_p8, AddSpanFunctor1 = agg::sbool_add_span_aa<agg::scanline_p8, agg::scanline_p8>, AddSpanFunctor2 = agg::sbool_add_span_aa<agg::scanline_p8, agg::scanline_p8>, CombineSpansFunctor = agg::sbool_xor_spans_aa<agg::scanline_p8, agg::scanline_p8, agg::scanline_p8, agg::sbool_xor_formula_abs_diff, 8u>]':
<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:862: warning: 'span1' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:863: warning: 'span2' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h: In function 'void agg::sbool_unite_scanlines(const Scanline1&, const Scanline2&, Scanline&, AddSpanFunctor1, AddSpanFunctor2, CombineSpansFunctor) [with Scanline1 = agg::scanline_p8, Scanline2 = agg::scanline_p8, Scanline = agg::scanline_p8, AddSpanFunctor1 = agg::sbool_add_span_aa<agg::scanline_p8, agg::scanline_p8>, AddSpanFunctor2 = agg::sbool_add_span_aa<agg::scanline_p8, agg::scanline_p8>, CombineSpansFunctor = agg::sbool_xor_spans_aa<agg::scanline_p8, agg::scanline_p8, agg::scanline_p8, agg::sbool_xor_formula_saddle<8u>, 8u>]':
<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:862: warning: 'span1' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:863: warning: 'span2' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h: In function 'void agg::sbool_unite_scanlines(const Scanline1&, const Scanline2&, Scanline&, AddSpanFunctor1, AddSpanFunctor2, CombineSpansFunctor) [with Scanline1 = agg::scanline_p8, Scanline2 = agg::scanline_p8, Scanline = agg::scanline_p8, AddSpanFunctor1 = agg::sbool_add_span_aa<agg::scanline_p8, agg::scanline_p8>, AddSpanFunctor2 = agg::sbool_add_span_aa<agg::scanline_p8, agg::scanline_p8>, CombineSpansFunctor = agg::sbool_xor_spans_aa<agg::scanline_p8, agg::scanline_p8, agg::scanline_p8, agg::sbool_xor_formula_linear<8u>, 8u>]':
<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:862: warning: 'span1' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:863: warning: 'span2' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h: In function 'void agg::sbool_unite_scanlines(const Scanline1&, const Scanline2&, Scanline&, AddSpanFunctor1, AddSpanFunctor2, CombineSpansFunctor) [with Scanline1 = agg::scanline_p8, Scanline2 = agg::scanline_p8, Scanline = agg::scanline_p8, AddSpanFunctor1 = agg::sbool_add_span_aa<agg::scanline_p8, agg::scanline_p8>, AddSpanFunctor2 = agg::sbool_add_span_aa<agg::scanline_p8, agg::scanline_p8>, CombineSpansFunctor = agg::sbool_unite_spans_aa<agg::scanline_p8, agg::scanline_p8, agg::scanline_p8, 8u>]':
<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:862: warning: 'span1' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_scanline_boolean_algebra.h:863: warning: 'span2' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_path_storage.h: In function 'void drawPolylineMarkers(imageObj*, shapeObj*, symbolSetObj*, styleObj*, double)':<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'x' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'y' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'x' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'y' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_path_storage.h: In function 'void msDrawMarkerSymbolAGG(symbolSetObj*, imageObj*, pointObj*, styleObj*, double)':<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'y' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'x' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'y' may be used uninitialized in this function<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'x' may be used uninitialized in this function
<br>/usr/local/include/agg2/agg_path_storage.h:732: warning: 'y' may be used uninitialized in this function!<br><br>and then dies with:<br><br>"./libmapserver.a(mapfile.o): In function `getSymbol':<br>mapfile.c:(.text+0x2dc): undefined reference to `msyylineno'
<br>./libmapserver.a(mapfile.o): In function `getString':<br>mapfile.c:(.text+0x3bd): undefined reference to `msyylineno'<br>./libmapserver.a(mapfile.o): In function `getDouble':<br>mapfile.c:(.text+0x42e): undefined reference to `msyylineno'
<br>./libmapserver.a(mapfile.o): In function `getInteger':<br>mapfile.c:(.text+0x4a3): undefined reference to `msyylineno'<br>./libmapserver.a(mapfile.o): In function `getCharacter':<br>mapfile.c:(.text+0x516): undefined reference to `msyylineno'
<br>./libmapserver.a(mapfile.o):mapfile.c:(.text+0x700): more undefined references to `msyylineno' follow<br>collect2: ld returned 1 exit status<br>make: *** [shp2img] Error 1".<br><br><br>The second machine does not complain at all and simply dies:
<br><br>"flex --nounistd -Pmsyy -i -omaplexer.c maplexer.l<br>flex: unknown flag '-'. For usage, try<br> flex --help<br>make: *** [maplexer.c] Error 1"<br><br><br>Any help would be much appreciated.
<br><br>Regards,<br><br>frequens<br><br><br>