On Monday, December 11, 2000, at 06:23 AM, Markus Neteler wrote:
> #################################################################
> /usr/src/grass/src/raster/r.mapcalc/mapcalc
> usr/bin/ld: Undefined symbols:
> _drand48
> make[1]: *** [/usr/local/grass5/etc/bin/main/cmd/r.mapcalc] Error 1
> make: *** [all] Error 1
Fixed, please try from CVS.
I updated, and I still get the same error.
I did not re-run configure, though, should I??
> #################################################################
> /usr/src/grass/src/raster/r.random
> /usr/bin/ld: Undefined symbols:
> _lrand48
> _srand48
> make: *** [/usr/local/grass5/etc/bin/main/cmd/r.random] Error 1
Fixed, please try from CVS.
I updated, and I still get the same error.
> #################################################################
> /usr/src/grass/src/sites/s.kcv
>
> /usr/bin/ld: Undefined symbols:
> _drand48
> _srand48
> make: *** [/usr/local/grass5/etc/bin/contrib/cmd/s.kcv] Error 1
Fixed, please try from CVS.
I updated, and I still get the same error.
> #################################################################
> /usr/src/grass/src/sites/s.random
>
> main.c: In function `main':
> main.c:127: `drand48' undeclared (first use in this function)
> main.c:127: (Each undeclared identifier is reported only once
> main.c:127: for each function it appears in.)
> make: *** [OBJ.powerpc-apple-darwin1.2/main.o] Error 1
Fixed, please try from CVS.
I updated, and I still get the same error.
> #################################################################
> /usr/src/grass/src/sites/s.to.rast
> main.c:251: illegal expression, found `}'
> main.c:335: illegal expression, found `}'
> make: *** [OBJ.powerpc-apple-darwin1.2/main.o] Error 1
Eric, may I ask you to check for this? You already managed something
like this (even if it is a compiler bug).
I got it to compile by adding a 1 at the default switches ar lines 251 and 335 (The comments said that it should never be used, so I assume this hack is OK?)
> #################################################################
> /usr/src/grass/src.garden/answers/src.answers/raster/r.fill.dir/cmd
> make -f OBJ.powerpc-apple-darwin1.2/make.rules
>
> c fmt_un.f -o OBJ.powerpc-apple-darwin1.2/fmt_un.o
> make[1]: c: Command not found
> make[1]: [OBJ.powerpc-apple-darwin1.2/fmt_un.o] Error 127 (ignored)
> OBJ.powerpc-apple-darwin1.2/fmt_un.o -o /usr/local/grass5/etc/fill/fmt_un
> make[1]: OBJ.powerpc-apple-darwin1.2/fmt_un.o: Command not found
> make[1]: *** [/usr/local/grass5/etc/fill/fmt_un] Error 127
> make: *** [all] Error 1
Requires F77/g77 compiler.
I can't get F77 compiled. Someone is working on the gcc port for Mac OS X. I guess it will have to wait until then.
> #################################################################
> src.contrib/GMSL/g3d/src3d/raster/r3.mapcalc/mapcalc
>
> /usr/bin/ld: Undefined symbols:
> _drand48
> make[4]: *** [/usr/local/grass5/etc/bin/main/cmd/r3.mapcalc] Error 1
> make[3]: *** [all] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 1
> make: *** [all] Error 2
Fixed, please try from CVS.
I updated, and I get a similar error:
/usr/bin/ld: Undefined symbols:
_drand48
make: *** [/usr/local/grass5/etc/bin/main/cmd/r3.mapcalc] Error 1
Hope this helps again (it's unbelievable that you compiled this
in beta8... nothing changed.)
Thanks for the help. These modules were not compiled with my beta 8 binaries (I gave up on them)....
Yours,
Jeshua Lacock
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com
Telephone: (760) 935-4481
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'