on Solaris8, this line causes a core dump in
ztxt_generate_db.c, line 106
dbRecordEntries->localChunkID = htonl(data_offset)
SunOS 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10
% gmake
gcc -Wall -g -pipe -I../common -I. -g -fpack-struct
-DPOSIX_REGEX -DO_BINARY=0 -c makeztxt.c
gmake -C libztxt CC=gcc USEPOSIX=1 PACK=1 all
gmake[1]: Entering directory `libztxt'
gcc -I../../common -I.. -fpack-struct -DPOSIX_REGEX -c
ztxt_add_regex.c
gcc -I../../common -I.. -fpack-struct -DPOSIX_REGEX -c
ztxt_generate_db.c
gcc -I../../common -I.. -fpack-struct -DPOSIX_REGEX -c
ztxt_list_bookmarks.c
gcc -I../../common -I.. -fpack-struct -DPOSIX_REGEX -c
ztxt_set.c
gcc -I../../common -I.. -fpack-struct -DPOSIX_REGEX -c
ztxt_free.c
gcc -I../../common -I.. -fpack-struct -DPOSIX_REGEX -c
ztxt_init.c
gcc -I../../common -I.. -fpack-struct -DPOSIX_REGEX -c
ztxt_process.c
gcc -I../../common -I.. -fpack-struct -DPOSIX_REGEX -c
ztxt_info.c
ar rs libztxt.a ztxt_add_regex.o ztxt_generate_db.o
ztxt_list_bookmarks.o ztxt_set.o ztxt_free.o
ztxt_init.o ztxt_process.o ztxt_info.o
ar: creating libztxt.a
ranlib libztxt.a
gmake[1]: Leaving directory `libztxt'
gcc -Llibztxt -o makeztxt makeztxt.o -lztxt -lz
Logged In: YES
user_id=238228
While this is getting fixed (or not), try getting Pyrite
Publisher. It's really good, and works :)
Logged In: YES
user_id=56359
Yes, using Pyrite is a good idea, if you can install it easily.
Unfortunately, I have no Solaris machine to test these
things on, which means I have no way of really knowing why
it is crashing. I assume it has something to do with how
structures are handled (and the need for -fpack-struct), but
beyond that I don't really know.
If somebody else can debug this, I would be very interested.