Hi All,

I'm new to yocto and I'm trying to create recipe for Jool network
translator package. Tried to compile this package in manually and I'm able
to compile with following steps.
*Manual Steps:*

./autogen.sh
./configure
make
make install

*Yocto Receipe: *

DESCRIPTION = "Jool is an Open Source IPv4/IPv6 Translator"
SECTION = "networking"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

SRCREV = "v4.0.1"
SRC_URI = "git://github.com/NICMx/Jool.git;protocol=http"

DEPENDS = "libnl iptables"

S = "${WORKDIR}/git"

inherit autotools module

Getting following error message */bin/bash: line 20: cd: src/mod: No such
file or directory       *But, the src/mod is present in the source
directory. Help me resolve this issue.

*Yocto Build Error:*

ERROR: jool-4.0.1-r0 do_compile: oe_runmake failed
ERROR: jool-4.0.1-r0 do_compile: Function failed: do_compile (log file is
located at
/home/graj/poky/build/tmp/work/qemuarm-enigma-linux-gnueabi/jool/4.0.1-r0/temp/log.do_compile.58423)
ERROR: Logfile of failure stored in:
/home/graj/poky/build/tmp/work/qemuarm-enigma-linux-gnueabi/jool/4.0.1-r0/temp/log.do_compile.58423
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6
KERNEL_SRC=/home/graj/poky/build/tmp/work-shared/qemuarm/kernel-source
KERNEL_PATH=/home/graj/poky/build/tmp/work-shared/qemuarm/kernel-source
KERNEL_VERSION=5.0.7-yocto-standard CC=arm-enigma-linux-gnueabi-gcc
 -mno-thumb-interwork -marm -fuse-ld=bfd
-fmacro-prefix-map=/home/graj/poky/build/tmp/work/qemuarm-enigma-linux-gnueabi/jool/4.0.1-r0=/usr/src/debug/jool/4.0.1-r0

 
-fdebug-prefix-map=/home/graj/poky/build/tmp/work/qemuarm-enigma-linux-gnueabi/jool/4.0.1-r0=/usr/src/debug/jool/4.0.1-r0

 
-fdebug-prefix-map=/home/graj/poky/build/tmp/work/qemuarm-enigma-linux-gnueabi/jool/4.0.1-r0/recipe-sysroot=

 
-fdebug-prefix-map=/home/graj/poky/build/tmp/work/qemuarm-enigma-linux-gnueabi/jool/4.0.1-r0/recipe-sysroot-native=
 
-fdebug-prefix-map=/home/graj/poky/build/tmp/work-shared/qemuarm/kernel-source=/usr/src/kernel
LD=arm-enigma-linux-gnueabi-ld.bfd   AR=arm-enigma-linux-gnueabi-ar
 O=/home/graj/poky/build/tmp/work-shared/qemuarm/kernel-build-artifacts
KBUILD_EXTRA_SYMBOLS=
| Making all in src/mod
| /bin/bash: line 20: cd: src/mod: No such file or directory
| Makefile:343: recipe for target 'all-recursive' failed
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/graj/poky/build/tmp/work/qemuarm-enigma-linux-gnueabi/jool/4.0.1-r0/temp/log.do_compile.58423)
ERROR: Task 
(/home/graj/poky/meta-enigma/recipes-example/jool/jool_4.0.1.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 570 tasks of which 563 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:
  /home/graj/poky/meta-enigma/recipes-example/jool/jool_4.0.1.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Source git link: *https://github.com/NICMx/Jool
<https://github.com/NICMx/Jool>*

Help me in fixing this issue.

Regards,
Gokul Raj K
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to