Q
Q
Quad_Tree2016-01-11 21:35:02
linux
Quad_Tree, 2016-01-11 21:35:02

Why does libgpg-error-1.11 compile with an error?

I execute the command to compile libgpg-error-1.11
make
As a result, I get a huge list of errors. How to fix it?

make  all-recursive
make[1]: вход в каталог «/home/vadim/Programs/libgpg-error-1.11»
Making all in m4
make[2]: вход в каталог «/home/vadim/Programs/libgpg-error-1.11/m4»
make[2]: Цель «all» не требует выполнения команд.
make[2]: выход из каталога «/home/vadim/Programs/libgpg-error-1.11/m4»
Making all in src
make[2]: вход в каталог «/home/vadim/Programs/libgpg-error-1.11/src»
mawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
mawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
gcc -E   _mkerrcodes.h | grep GPG_ERR_ | \
               mawk -f ./mkerrcodes.awk >mkerrcodes.h
rm _mkerrcodes.h
gcc -I. -I. -o mkerrcodes ./mkerrcodes.c
In file included from ./mkerrcodes.c:26:0:
./mkerrcodes.h:9:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_E2BIG" },
     ^
./mkerrcodes.h:10:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EACCES" },
     ^
./mkerrcodes.h:11:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EADDRINUSE" },
     ^
.........
./mkerrcodes.h:134:5: error: expected expression before ‘,’ token
   { , "GPG_ERR_EXFULL" },
     ^
Makefile:1008: ошибка выполнения рецепта для цели «mkerrcodes»
make[2]: *** [mkerrcodes] Ошибка 1
make[2]: выход из каталога «/home/vadim/Programs/libgpg-error-1.11/src»
Makefile:386: ошибка выполнения рецепта для цели «all-recursive»
make[1]: *** [all-recursive] Ошибка 1
make[1]: выход из каталога «/home/vadim/Programs/libgpg-error-1.11»
Makefile:317: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Tsilyurik, 2016-01-11
@Olej

Did you do before make ./configure?
Your awk did something there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question