CVS build error with new sort

John W. Eaton jwe at bevo.che.wisc.edu
Tue Feb 12 13:16:59 CST 2008


On 12-Feb-2008, John Swensen wrote:

| 
| On Feb 12, 2008, at 1:30 PM, John W. Eaton wrote:
| >
| > Will you please go back to the current sources without any of your
| > local modifications and send the output from doing
| >
| >  nm pic/Array-b.o | grep octave_sort
| >
| > and
| >
| >  nm pic/Sparse-b.o | grep octave_sort
| >
| > ?
| >
| > Thanks,
| >
| > jwe
| 
| johnswenlap:liboctave jpswensen$ nm pic/Array-b.o | grep octave_sort
| 00000040 T __ZN11octave_sortIP9vec_indexIbEE11set_compareEPFbS2_S2_E
| 00000000 A __ZN11octave_sortIP9vec_indexIbEE11set_compareEPFbS2_S2_E.eh
|           U __ZN11octave_sortIP9vec_indexIbEE13merge_freememEv
|           U __ZN11octave_sortIP9vec_indexIbEE4sortEPS2_i
|           U __ZN11octave_sortIP9vec_indexIbEEC1Ev
| 000013f0 T __ZN11octave_sortIP9vec_indexIbEED1Ev
| 00000000 A __ZN11octave_sortIP9vec_indexIbEED1Ev.eh
| 00000030 T __ZN11octave_sortIP9vec_indexIbEED2Ev
| 00000000 A __ZN11octave_sortIP9vec_indexIbEED2Ev.eh
| 00000020 T __ZN11octave_sortIbE11set_compareEPFbbbE
| 00000000 A __ZN11octave_sortIbE11set_compareEPFbbbE.eh
|           U __ZN11octave_sortIbE13merge_freememEv
|           U __ZN11octave_sortIbE4sortEPbi
|           U __ZN11octave_sortIbEC1Ev
| 00001400 T __ZN11octave_sortIbED1Ev
| 00000000 A __ZN11octave_sortIbED1Ev.eh
| 00000010 T __ZN11octave_sortIbED2Ev
| 00000000 A __ZN11octave_sortIbED2Ev.eh
| 
| 
| johnswenlap:liboctave jpswensen$ nm pic/Sparse-b.o | grep octave_sort
|           U  
| __ZN11octave_sortIP22octave_idx_vector_sortE13merge_freememEv
|           U __ZN11octave_sortIP22octave_idx_vector_sortE4sortEPS1_i
|           U __ZN11octave_sortIP22octave_idx_vector_sortEC1EPFbS1_S1_E
|           U  
| __ZN11octave_sortIP23octave_sparse_sort_idxlE13merge_freememEv
|           U __ZN11octave_sortIP23octave_sparse_sort_idxlE4sortEPS1_i
|           U __ZN11octave_sortIP23octave_sparse_sort_idxlEC1EPFbS1_S1_E
|           U __ZN11octave_sortIP9vec_indexIbEE13merge_freememEv
|           U __ZN11octave_sortIP9vec_indexIbEE4sortEPS2_i
|           U __ZN11octave_sortIP9vec_indexIbEEC1Ev
|           U __ZN11octave_sortIbE13merge_freememEv
|           U __ZN11octave_sortIbE4sortEPbi
|           U __ZN11octave_sortIbEC1Ev
|           U __ZN11octave_sortIiE13merge_freememEv
|           U __ZN11octave_sortIiE4sortEPii
|           U __ZN11octave_sortIiEC1Ev
| 

The output above doesn't seem consistent with the error message that
was reported earlier:

| ld: multiple definitions of symbol __ZN11octave_sortIbED2Ev
| pic/Array-b.o definition of __ZN11octave_sortIbED2Ev in section (__TEXT,__text)
| pic/Sparse-b.o definition of __ZN11octave_sortIbED2Ev in section (__TEXT,__text)

What happened to the definition of __ZN11octave_sortIbED2Ev in the
pic/Sparse-b.o file?

jwe


More information about the Octave-maintainers mailing list