Build error

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

Posts: 4
Joined: Mon May 23, 2011 10:15 am

Build error

Post by unico » Fri May 27, 2011 12:53 pm

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?


Site Admin
Posts: 2279
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Re: Build error

Post by maschoff » Sat May 28, 2011 12:40 pm

Please provide more info like operating system and version, C compiler and version as well as C library and version.
OpenEMM Maintainer

Post Reply