<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Errors compiling latest cvs on macosx intel, when using universal flags( <FONT class="Apple-style-span" face="Monaco" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">export CFLAGS="-arch ppc -arch i386"; export CXXFLAGS="-arch ppc -arch i386"; export LDFLAGS="-arch ppc -arch i386")</SPAN></FONT>. Without them works.<DIV><BR class="khtml-block-placeholder"><DIV>/usr/bin/install -c -m 644 scripts.hmp /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/fonts</DIV><DIV>gtcltk</DIV><DIV>if [ ! -d /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/gtcltk ]; then mkdir -p /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/gtcltk; fi</DIV><DIV>for file in *.tcl ; do /usr/bin/install -c -m 644 $file /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/gtcltk/ ; done</DIV><DIV>gcc -I/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/include -g -O3 -DPACKAGE=\""grassmods"\" -I/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/include \</DIV><DIV> -o OBJ.i686-apple-darwin8.9.1/grocat.o -c grocat.c</DIV><DIV>gcc -L/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/lib -arch ppc -arch i386 -arch ppc -arch i386 -L/usr/local/pgsql/lib OBJ.i686-apple-darwin8.9.1/grocat.o -o /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/grocat</DIV><DIV>/usr/bin/ld: for architecture ppc</DIV><DIV>/usr/bin/ld: warning OBJ.i686-apple-darwin8.9.1/grocat.o cputype (7, architecture i386) does not match cputype (18) for specified -arch flag: ppc (file not loaded)</DIV><DIV>/usr/bin/ld: Undefined symbols:</DIV><DIV>_main</DIV><DIV>collect2: ld returned 1 exit status</DIV><DIV>lipo: can't open input file: /var/tmp//cchnyodT.out (No such file or directory)</DIV><DIV>make[2]: *** [/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/grocat] Error 1</DIV><DIV>form</DIV><DIV>..........</DIV><DIV>gcc -L/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/lib -arch ppc -arch i386 -arch ppc -arch i386 -L/usr/local/pgsql/lib -g -O3 -I/Library/Frameworks/GDAL.framework/unix/include -I/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/include -o OBJ.i686-apple-darwin8.9.1/test test.c -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz -lgrass_rtree -lgrass_rtree \</DIV><DIV> -lgrass_gis -lgrass_datetime -lz -lgrass_datetime -lz </DIV><DIV>/usr/bin/ld: for architecture ppc</DIV><DIV>/usr/bin/ld: Undefined symbols:</DIV><DIV>_dig__fread_port_C</DIV><DIV>_dig__fread_port_D</DIV><DIV>_dig__fread_port_F</DIV><DIV>_dig__fread_port_I</DIV><DIV>_dig__fread_port_L</DIV><DIV>_dig__fread_port_S</DIV><DIV>_dig__fwrite_port_C</DIV><DIV>_dig__fwrite_port_D</DIV><DIV>_dig__fwrite_port_F</DIV><DIV>_dig__fwrite_port_I</DIV><DIV>_dig__fwrite_port_L</DIV><DIV>_dig__fwrite_port_S</DIV><DIV>_dig_fflush</DIV><DIV>_dig_fseek</DIV><DIV>_dig_init_portable</DIV><DIV>_dig_set_cur_port</DIV><DIV>collect2: ld returned 1 exit status</DIV><DIV>lipo: can't open input file: /var/tmp//ccC8XXDG.out (No such file or directory)</DIV><DIV>make[3]: *** [OBJ.i686-apple-darwin8.9.1/test] Error 1</DIV><DIV>Vlib</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV> </DIV><BR></DIV></DIV></BODY></HTML>