[neomutt-users] Compilation error with current code...

tuxic at posteo.de tuxic at posteo.de
Mon Oct 30 07:12:13 CET 2017


Hi,

after updateing the local repository and compiling
the code I got this error:

make[2]: Entering directory '/home/user/CVS-Archive/NEOMUTT/neomutt.build/conn'
gcc -DHAVE_CONFIG_H -I. -I..  -I..   -Wall -pedantic -g -O2 -fno-delete-null-pointer-checks -MT conn_globals.o -MD -MP -MF .deps/conn_globals.Tpo -c -o conn_globals.o conn_globals.c
mv -f .deps/conn_globals.Tpo .deps/conn_globals.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..   -Wall -pedantic -g -O2 -fno-delete-null-pointer-checks -MT getdomain.o -MD -MP -MF .deps/getdomain.Tpo -c -o getdomain.o getdomain.c
mv -f .deps/getdomain.Tpo .deps/getdomain.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..   -Wall -pedantic -g -O2 -fno-delete-null-pointer-checks -MT sasl_plain.o -MD -MP -MF .deps/sasl_plain.Tpo -c -o sasl_plain.o sasl_plain.c
mv -f .deps/sasl_plain.Tpo .deps/sasl_plain.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..   -Wall -pedantic -g -O2 -fno-delete-null-pointer-checks -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o socket.c
mv -f .deps/socket.Tpo .deps/socket.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..   -Wall -pedantic -g -O2 -fno-delete-null-pointer-checks -MT tunnel.o -MD -MP -MF .deps/tunnel.Tpo -c -o tunnel.o tunnel.c
mv -f .deps/tunnel.Tpo .deps/tunnel.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I..   -Wall -pedantic -g -O2 -fno-delete-null-pointer-checks -MT ssl.o -MD -MP -MF .deps/ssl.Tpo -c -o ssl.o ssl.c
In file included from ssl.c:59:0:
ssl.c: In function ‘ssl_init’:
ssl.c:619:56: error: ‘HomeDir’ undeclared (first use in this function)
     snprintf(path, sizeof(path), "%s/.entropy", NONULL(HomeDir));
                                                        ^
../lib/string2.h:38:19: note: in definition of macro ‘NONULL’
 #define NONULL(x) x ? x : ""
                   ^
ssl.c:619:56: note: each undeclared identifier is reported only once for each function it appears in
     snprintf(path, sizeof(path), "%s/.entropy", NONULL(HomeDir));
                                                        ^
../lib/string2.h:38:19: note: in definition of macro ‘NONULL’
 #define NONULL(x) x ? x : ""
                   ^
make[2]: *** [Makefile:393: ssl.o] Error 1
make[2]: Leaving directory '/home/user/CVS-Archive/NEOMUTT/neomutt.build/conn'
make[1]: *** [Makefile:737: all-recursive] Error 1
make[1]: Leaving directory '/home/user/CVS-Archive/NEOMUTT/neomutt.build'
make: *** [Makefile:510: all] Error 2


I configured the build process like so:
export LUA_VERSION=5.1.5
./prepare --prefix=/usr/local \
    --disable-static \
    --sysconfdir=/etc \
    --with-regex --with-gdbm \
    --enable-sidebar \
    --enable-lua \
    --disable-notmuch \
    --enable-pop \
    --enable-nntp \
    --with-ssl \
    --prefix=/usr/local && \
make && make install


How can I fix that?

Thanks a lot for any help in advance!
Cheers
Meino



More information about the neomutt-users mailing list