Re: [As-users] crash building as2.0 on Solaris

Sasha Vasko (sasha@aftercode.net)
Thu, 30 Sep 2004 09:05:03 -0500




Fabrice Ilponse wrote:
> Hello,
> 
> xmlproc.c:596: warning: subscript has type `char'
> xmlproc.c:601: warning: subscript has type `char'
> gcc ASDocGen.o datadoc.o docfile.o robodoc.o xmlproc.o -rdynamic -g 
> ../../libAfterConf/libAfterConf.a ../../libAfterStep/libAfterStep.a 
> ../../libAfterImage/libAfterImage.a ../../libAfterBase/libAfterBase.a 
> -L/users/disk03/chaos/local/Solaris/lib -lfreetype -lz -ljpeg -lpng -lz 
> -lm -lX11 -L/usr/openwin/lib -R/usr/openwin/lib -lsocket -lnsl -lSM 
> -lICE -lXext -o ASDocGen
> gcc: unrecognized option `-rdynamic'
> Generating man pages ...Segmentation Fault - core dumped
> Done
> Generating HTML docs ...Segmentation Fault - core dumped
> Done
> 
> ------
> (gdb) where
> #0  0xfef32be4 in strlen () from /usr/lib/libc.so.1
> #1  0xfef81570 in _doprnt () from /usr/lib/libc.so.1
> #2  0xfef83018 in fprintf () from /usr/lib/libc.so.1
> #3  0x24f2c in main (argc=5, argv=0xffbef33c) at ASDocGen.c:201
> 
> i=1, argv[i]=NULL, MyArgs.saved_argv[i]="-l"
> -------
> Once again the printf of NULL as a string is the cause ;)

Ok, thanks, fixed this in CVS.
If you recompile tarball without --enable-gdb  - it should work fine.

Sasha

> bye
> _______________________________________________
> As-users mailing list
> As-users@afterstep.org
> http://mail.afterstep.org/mailman/listinfo/as-users
_______________________________________________
As-users mailing list
As-users@afterstep.org
http://mail.afterstep.org/mailman/listinfo/as-users