compilation error on CURRENT-20100118

Katsuhiro Kondou kondou at isc.org
Fri Jan 22 09:04:35 UTC 2010


In article <0CE3BA0EA81743DA939C025B54C335A3 at Iulius>,
	<julien at trigofacile.com> wrote,
	on "Thu, 21 Jan 2010 21:34:12 +0100";

} That's strange because libstorage.a should normally contain ov.o:

I have the same impression on this, and I wish I could use
other way to fix this.

} > overchan cannot be created and also
} > storage/tradindexed/tdx-util not with the same problem.
} 
} What's the problem for tdx-util then?

The same compilation problem.

# cd storage/
# make
gcc -g -O2 -I../include  -I.  -DBUFF_DEBUG -c -o buffindexed/buffindexed_d.o buffindexed/buffindexed.c
gcc -multiply_defined suppress -o buffindexed/buffindexed_d buffindexed/buffindexed_d.o \
    buffindexed/shmem.o expire.o ov.o \
    /tmp/inn-CURRENT-20100118/storage/libstorage.a /tmp/inn-CURRENT-20100118/history/libinnhist.a /tmp/inn-CURRENT-20100118/lib/libinn.a   
gcc -g -O2 -I../include  -I.  -c -o tradindexed/tdx-util.o tradindexed/tdx-util.c
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

} Strange.  Maybe a platform-specific issue?

I think so.  I'd like to know someone who can create binaries
on osx.

} (I have just tried on Debian without "ov.o" for buffindexed_d
} and it worked fined.)

True, and it also works on Solaris8(gcc3.4.3) without ov.o :<
-- 
Katsuhiro Kondou



More information about the inn-workers mailing list