pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] List module unit tests


From: Aleksander Morgado
Subject: Re: [pdf-devel] List module unit tests
Date: Fri, 14 Mar 2008 19:48:46 +0100
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)


BTW, gcc complains about the haders in pdf.h defined at src/Makefile.am.
I solved the problem by removing them :-P

##

make[1]: Entering directory `/home/gerel/PROJECTS/libgnupdf/utils'
gcc -DHAVE_CONFIG_H -I. -I../src  -I../lib -I../src/ -I../src/base -I 
../src/object -I/usr/include  -g -O2 -MT pdf-filter.o -MD -MP -MF 
.deps/pdf-filter.Tpo -c -o pdf-filter.o pdf-filter.c
In file included from pdf-filter.c:40:
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘n’
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘#’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘#’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:1: error: stray ‘\’ in program
../src/pdf.h:554: error: stray ‘\’ in program
../src/pdf.h:554: error: stray ‘#’ in program
../src/pdf.h:554: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ 
before ‘endif’
../src/pdf.h:554: error: stray ‘\’ in program
../src/pdf.h:554: error: stray ‘\’ in program
../src/pdf.h:554: error: stray ‘\’ in program
pdf-filter.c: In function ‘main’:
pdf-filter.c:178: error: ‘GNU_longOptions’ undeclared (first use in this 
function)
pdf-filter.c:178: error: (Each undeclared identifier is reported only once
pdf-filter.c:178: error: for each function it appears in.)
make[1]: *** [pdf-filter.o] Error 1
make[1]: Leaving directory `/home/gerel/PROJECTS/libgnupdf/utils'
make: *** [all-recursive] Error 1

###

Can anyone fix it ? :-)

cheers

-gerel


Hummm... I don't see that problem neither in Mac OS X nor in Kubuntu, and it seems my fault... :-) Could it be due to different versions of autotools? It seems that it includes the `\' char in the .h file after each line, but I can't reproduce the problem... I will send you a small patch anyway, so that you can try it.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]