compilation error on CURRENT-20100118

Julien ÉLIE julien at trigofacile.com
Sat Jan 30 19:35:37 UTC 2010


Hi Katsuhiro,

> gcc -multiply_defined suppress -o tradindexed/tdx-util tradindexed/tdx-util.o \
>    /tmp/inn-CURRENT-20100118/storage/libstorage.a 
> /tmp/inn-CURRENT-20100118/history/libinnhist.a 
> /tmp/inn-CURRENT-20100118/lib/libinn.a
> /usr/bin/ld: Undefined symbols:
> _OVstatall
> _OVrealnow
> collect2: ld returned 1 exit status
> make: *** [tradindexed/tdx-util] Error 1

Just to be sure, are the symbols defined in these archives?

I have:

% nm /home/news/work/inn/trunk/storage/libstorage.a | grep OVstatall
00000001 C OVstatall
         U OVstatall
         U OVstatall

% nm /home/news/work/inn/trunk/storage/libstorage.a | grep OVrealnow
         U OVrealnow
00000004 C OVrealnow
         U OVrealnow




And does it change something if you put tradindexed/tdx-util.o after
the archives?  or if you use -L/tmp/inn-CURRENT-20100118/history
-L/tmp/inn-CURRENT-20100118/storage -lstorage -linn ?

-- 
Julien ÉLIE

« Les mathématiques peuvent être définies comme une science
  dans laquelle on ne sait jamais de quoi on parle, ni si ce qu'on dit
  est vrai. » (Bertrand Russell) 




More information about the inn-workers mailing list