[GRASS-dev] make on SMP [was: GRASS 6.3.0 release preparation]

Glynn Clements glynn at gclements.plus.com
Wed Oct 24 16:55:37 EDT 2007

Glynn Clements wrote:

> > OBJ.i686-pc-linux-gnu/FLOAT/sweep.o: In function `AMI_STREAM':
> > /homes/excoll/soeren/src/grass_test_build/grass6/raster/r.terraflow/./IOStream/include/ami_stream.h:220:
> > undefined reference to `ami_single_temp_name(char*, char*)'
> Can you check the relevant files with "nm"? Specifically, which of the
> following files contain symbols matching ami_single_temp_name and
> open_stream:
> 	lib/src/iostream.o
> 	lib/src/libiostream.a
> 	lib/libiostream.a

Forget lib/src/iostream.o (I meant ami_stream.o, but never mind), as
that gets deleted automatically (I'll change that). Running "nm" on
both copies of libiostream.a ought to show something like the
following for ami_stream.o:

0000050a t _GLOBAL__I__Z20ami_single_temp_namePcS_
000002c8 T _Z11open_streamPc15AMI_stream_type
000001bc T _Z11open_streami15AMI_stream_type
000000fe T _Z20ami_single_temp_namePcS_
0000046c t _Z41__static_initialization_and_destruction_0ii
         U _ZN16mm_register_initC1Ev
         U _ZN16mm_register_initD1Ev
         U _ZNKSs4sizeEv
         U _ZNKSsixEj
         U _ZNSt8ios_base4InitC1Ev
         U _ZNSt8ios_base4InitD1Ev
00000000 t _ZSt17__verify_groupingPKcjRKSs
00000000 W _ZSt3minIjERKT_S2_S2_
         U _ZSt4cerr
00000000 b _ZSt8__ioinit
         U _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
000000e0 r _ZZ11open_streamPc15AMI_stream_typeE19__PRETTY_FUNCTION__
00000080 r _ZZ11open_streami15AMI_stream_typeE19__PRETTY_FUNCTION__
00000000 r _ZZ20ami_single_temp_namePcS_E19__PRETTY_FUNCTION__
         U __assert_fail
         U __cxa_atexit
         U __dso_handle
         U __gxx_personality_v0
000004f6 t __tcf_0
000004e2 t __tcf_1
         U fdopen
         U fopen64
         U fseek
         U getenv
         U mkstemp64
         U perror
00000001 b source_file_mm_register_init
         U sprintf

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list