1 of 220 Compiling execline with package convention on ubuntu 17.04, here is the complete log, I did omit a line

From: Vincent <b21enu_at_gmail.com>
Date: Wed, 23 Aug 2017 17:21:45 +0200

Hi,
here is the complete log, I did omit a line.
I am not familiar with Makefiles nor c, so this might be a stupid error:
I did run these commands on ubuntu 17.04:

~/skalibs-2.5.1.1$ ./configure --enable-slashpackage=/usr/local/ &&
make && make install
~/skalibs-2.5.1.1$ mkdir /usr/local/package/prog/skalibs ; cd
/usr/local/package/prog/skalibs ; ln -s ../skalibs-2.5.1.1/sysdeps
#everything works fine
~/skalibs-2.5.1.1$ cd ../execline-2.3.0.1
~/execline-2.3.0.1$ ./configure --enable-slashpackage=/usr/local/ && make

# I get these errors:
#############################################################
exec gcc-6 -iquote src/include-local -Isrc/include
-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -O2 -Wa,--noexecstack
-Werror=implicit-function-declaration -Werror=implicit-int
-Werror=pointer-sign -Werror=pointer-arith
-I/usr/local/package/prog/skalibs/include -std=c99
-fomit-frame-pointer -fno-exceptions -fno-unwind-tables
-fno-asynchronous-unwind-tables -fno-stack-protector
-ffunction-sections -fdata-sections -pipe -Wall -c -o
src/libexecline/el_execsequence.o src/libexecline/el_execsequence.c
src/libexecline/el_execsequence.c: In function ‘el_execsequence’:
src/libexecline/el_execsequence.c:21:3: error: implicit declaration of
function ‘xpathexec_r’ [-Werror=implicit-function-declaration]
   xpathexec_r(argv2, envp, env_len(envp), fmt, j) ;
   ^~~~~~~~~~~
src/libexecline/el_execsequence.c:22:1: warning: ‘noreturn’ function does return
 }
 ^
cc1: some warnings being treated as errors
Makefile:130: recipe for target 'src/libexecline/el_execsequence.o' failed
make: *** [src/libexecline/el_execsequence.o] Error 1
#################################################################################
Thanks,
 Vincent
Received on Wed Aug 23 2017 - 15:21:45 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC