libgpg-err build error
e9hack
e9hack at gmail.com
Thu May 13 00:00:51 PDT 2021
Hi,
I've trouble to build libgpg-err since the update from 1.39 to 1.42. Compilation does fail because the auto generated file gpg-error.h contains wrong syntax in macro GPGRT_LOCK_INITIALIZER:
#define GPGRT_LOCK_INITIALIZER {1,{{\c
0\c
,\0c
0\c
,\0c
....
The sequence is generated by gen-lock-obj.sh. I patched out the wrong generation of macros ECHO_C and ECHO_N:
--- a/src/gen-lock-obj.sh 2021-03-04 11:05:29.000000000 +0100
+++ b/src/gen-lock-obj.sh 2021-05-13 08:14:52.675832305 +0200
@@ -39,8 +39,8 @@
#
if test -n `echo -n`; then
- ECHO_C='\c'
- ECHO_N=''
+ ECHO_C=''
+ ECHO_N='-n'
else
ECHO_C=''
ECHO_N='-n'
Any idea why this does fail? My build system is openSuse Leap 15.2, running in Oracle VirtualBox on Windows.
Regards,
Hartmut
More information about the openwrt-devel
mailing list