[Scribus] compiling with debug information

Craig Bradney cbradney
Sun Apr 25 14:07:56 CEST 2004


On Sun, 2004-04-25 at 14:02, Uwe Fechner wrote:
> Jean-Jacques Sarton schrieb:
> 
> > slimpy edit all Makefile.  Add the -g option at the relevant place
> > and delete the -s option for ld.
> >
> Hello,
> 
> is manually editing the auto-generated make file really the best way to
> enable debugging?

yes, at this point.

> 
> I tried:
> 
> ./configure --enable-debug=full
> ./make clean
> ./make
> 
> but got a compilation error (without --enable-debug it compiles fine):
> 
> > c1plus: Warnung: "-Wbad-function-cast" is valid for C/ObjC but not for C++
> > hyphenator.cpp:21:6: Warnung: "_MSC_VER" is not defined
> > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libart-2.0 
> > -I/usr/include/fr
> > eetype2 -I/usr/qt/3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  
> > -D_REENT
> > RANT  -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith 
> > -Wmissing-prototypes -W
> > write-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -g3  -g -O2 -MT 
> > hyphen.o -MD -M
> > P -MF ".deps/hyphen.Tpo" \
> >           -c -o hyphen.o `test -f 'hyphen.c' || echo './'`hyphen.c; \
> >         then mv -f ".deps/hyphen.Tpo" ".deps/hyphen.Po"; \
> >         else rm -f ".deps/hyphen.Tpo"; exit 1; \
> >         fi
> > hyphen.c: In function `hnj_hyphen_load':
> > hyphen.c:330: error: Syntaxfehler before '/' token
> > hyphen.c:330: error: Syntaxfehler before ')' token
> > hyphen.c:331: error: Syntaxfehler before ')' token
> > hyphen.c:337: error: Syntaxfehler before '/' token
> > hyphen.c:330: Warnung: statement with no effect
> > hyphen.c:331: Warnung: statement with no effect
> > hyphen.c: At top level:
> > hyphen.c:354: Warnung: type defaults to `int' in declaration of 
> > `hnj_hash_free'
> > hyphen.c:354: Warnung: parameter names (without types) in function 
> > declaration
> > hyphen.c:354: error: conflicting types for `hnj_hash_free'
> > hyphen.c:115: error: previous declaration of `hnj_hash_free'
> > hyphen.c:354: error: ISO C forbids data definition with no type or 
> > storage clas
> > s
> > hyphen.c:356: Warnung: type defaults to `int' in declaration of `fclose'
> > hyphen.c:356: Warnung: parameter names (without types) in function 
> > declaration
> > hyphen.c:356: error: ISO C forbids data definition with no type or 
> > storage clas               s
> > hyphen.c:357: error: Syntaxfehler before "return"
> > hyphen.c: In function `hnj_hyphen_hyphenate':
> > hyphen.c:424: error: Syntaxfehler before '/' token
> > hyphen.c:425:34: missing terminating ' character
> > hyphen.c:425:34: Warnung: character constant too long for its type
> > hyphen.c:474: error: Syntaxfehler before '/' token
> > hyphen.c:427: error: label `try_next_letter' used but not defined
> > hyphen.c: At top level:
> > hyphen.c:354: Warnung: `hnj_hash_free' defined but not used
> > make[3]: *** [hyphen.o] Fehler 1
> > make[3]: Leaving directory 
> > `/home/ufechner/0Software/scribus-cvs/Scribus/scribu               s'
> > make[2]: *** [all-recursive] Fehler 1
> > make[2]: Leaving directory 
> > `/home/ufechner/0Software/scribus-cvs/Scribus/scribu               s'
> > make[1]: *** [all-recursive] Fehler 1
> > make[1]: Leaving directory `/home/ufechner/0Software/scribus-cvs/Scribus'
> > make: *** [all] Fehler 2
> 
> Any idea?
> 
> Uwe
> _______________________________________________
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
> http://nashi.altmuehlnet.de/mailman/listinfo/scribus
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20040425/219e6486/attachment.pgp 



More information about the scribus mailing list