[GRASS-dev] Not universal building on Mac
Michael Barton
michael.barton at asu.edu
Wed May 9 10:53:36 EDT 2007
Agustin,
When and if you get a current Mac build from the cvs of this week, can you
check to see how a barscale and legend are displaying in the GUI?
Thanks
Michael
On 5/9/07 6:51 AM, "Agustin Diez Castillo" <Agustin.Diez at uv.es> wrote:
> Errors compiling latest cvs on macosx intel, when using universal flags(
> export CFLAGS="-arch ppc -arch i386"; export CXXFLAGS="-arch ppc -arch
> i386"; export LDFLAGS="-arch ppc -arch i386"). Without them works.
>
> /usr/bin/install -c -m 644 scripts.hmp
> /Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/fonts
> gtcltk
> 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
> 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
> 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 \
> -o OBJ.i686-apple-darwin8.9.1/grocat.o -c grocat.c
> 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
> /usr/bin/ld: for architecture ppc
> /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)
> /usr/bin/ld: Undefined symbols:
> _main
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//cchnyodT.out (No such file or
> directory)
> make[2]: ***
> [/Users/Shared/grasssource/grass6/dist.i686-apple-darwin8.9.1/etc/grocat]
> Error 1
> form
> ..........
> 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 \
> -lgrass_gis -lgrass_datetime -lz -lgrass_datetime
> -lz
> /usr/bin/ld: for architecture ppc
> /usr/bin/ld: Undefined symbols:
> _dig__fread_port_C
> _dig__fread_port_D
> _dig__fread_port_F
> _dig__fread_port_I
> _dig__fread_port_L
> _dig__fread_port_S
> _dig__fwrite_port_C
> _dig__fwrite_port_D
> _dig__fwrite_port_F
> _dig__fwrite_port_I
> _dig__fwrite_port_L
> _dig__fwrite_port_S
> _dig_fflush
> _dig_fseek
> _dig_init_portable
> _dig_set_cur_port
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccC8XXDG.out (No such file or
> directory)
> make[3]: *** [OBJ.i686-apple-darwin8.9.1/test] Error 1
> Vlib
>
>
>
>
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070509/42831f14/attachment.html
More information about the grass-dev
mailing list