[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile error

On Wed, 30 Dec 1998, Davide Barbieri wrote:

> I can't found where repl_c_string* are defined, so I think it is
> really a problem on siag; or is it just me, with a defective .tar.gz?

They are defined in siod/slib.c, part of SIOD. Do this:

cd siod
rm slib.o

It should look like this:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Dunix -DSIAG  -DNDBM  -Wall -g -O2 -c
rm -f libsiod.a
ar cru libsiod.a md5.o regex.o sliba.o ss.o tar.o ndbm.o slib.o slibu.o
trace.o ranlib libsiod.a

-DSIAG is the important thing here, it causes three symbols to be
exported that are static in standard SIOD. If you don't see -DSIAG, there
is a bug in the configure script. As a workaround, you can add

#define SIAG

somewhere near the top of slib.c.