[Swan-dev] Error compiling libreswan-4.4-4.0.1

Balaji Thoguluva tbbalaji at gmail.com
Fri Mar 11 23:01:13 EET 2022


Hi Folks,

I am compiling libreswan-4.4-4.0.1 source in Linux el8-u5 and run into the
following error.

Has anyone noticed this error and any idea on how to overcome this error?

Thanks,
Balaji


linux/public/libreswan/usbc_gnu_64/lib/libswan/x509dn.c:26:10: fatal error:
stdlib.h: No such file or directory
 #include <stdlib.h> /* for size_t */
          ^~~~~~~~~~
compilation terminated.
distcc[30929] ERROR: compile
/linux/public/libreswan/usbc_gnu_64/lib/libswan/x509dn.c on cgbu-phx-98/100
failed
distcc[30929] (dcc_build_somewhere) Warning: remote compilation of
'linux/public/libreswan/usbc_gnu_64/lib/libswan/x509dn.c' failed, retrying
locally
distcc[30929] Warning: failed to distribute
/linux/public/libreswan/usbc_gnu_64/lib/libswan/x509dn.c to
cgbu-phx-98/100, running locally instead
/home/bthogulu/cc/bthogulu_Cz9.1.0_01-25-2022/linux/public/libreswan/usbc_gnu_64/lib/libswan/x509dn.c:26:10:
fatal error: stdlib.h: No such file or directory
 #include <stdlib.h> /* for size_t */
          ^~~~~~~~~~
compilation terminated.
distcc[30929] ERROR: compile
/linux/public/libreswan/usbc_gnu_64/lib/libswan/x509dn.c on localhost failed
make[9]: *** [x509dn.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20220311/fde5f14d/attachment.htm>


More information about the Swan-dev mailing list