Page 1 of 1

Build error

Posted: Fri May 27, 2011 12:53 pm
by unico
Hi, I'm having trouble building the 6.2 version of OpenEMM. I get the following output error:


[exec] ( echo "# include \"xmlback.h\"" ; \
[exec] echo "" ; \
[exec] echo "char dtd[] = " ; \
[exec] sed -e 's/"/\\"/g' -e 's/\(.*\)/ "\1\\n"/g' ; \
[exec] echo " \"\\n\";" ; \
[exec] echo "char dtdname[] = \"blockmail.dtd\";" ; \
[exec] ) < blockmail.dtd >dtd.c
[exec] gcc -I. -I../lib -I/home/uhommes/Code/sandbox/openem/include -I/usr/local/include/libxml2 -I/usr/include/slang -c -o dtd.o dtd.c
[exec] gcc -I../lib -I/home/uhommes/Code/sandbox/openem/include -pthread -c -o bav.o bav.c
[exec] dtd.c:216: warning: missing terminating " character
[exec] dtd.c:216: error: missing terminating " character
[exec] dtd.c:217: warning: missing terminating " character
[exec] dtd.c:217: error: missing terminating " character
[exec] dtd.c:218: error: expected ‘,’ or ‘;’ before ‘char’
[exec] make: *** [dtd.o] Error 1
[exec] gcc -I../lib -I/home/uhommes/Code/sandbox/openem/include -pthread -c -o cfg.o cfg.c
[exec] gcc -L../lib -L/home/uhommes/Code/sandbox/openem/lib -pthread bav.o cfg.o -o bav -lagn -lmilter -lsa
[exec] /usr/bin/ld: cannot find -lmilter
[exec] collect2: ld returned 1 exit status
[exec] make: *** [bav] Error 1
[exec] Result: 2

Can somebody help me out?

--
Unico

Re: Build error

Posted: Sat May 28, 2011 12:40 pm
by maschoff
Please provide more info like operating system and version, C compiler and version as well as C library and version.