Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure #35

Open
techkals opened this issue Sep 11, 2017 · 0 comments
Open

Compilation failure #35

techkals opened this issue Sep 11, 2017 · 0 comments

Comments

@techkals
Copy link

techkals commented Sep 11, 2017

Hi,

Getting the following compilation error. Has anyone faced such issue?

../../../netconf/src/agt/.libs/libyumaagt.so: undefined reference to `SHA1'

Log:

gcc -DPACKAGE_NAME="yuma123" -DPACKAGE_TARNAME="yuma123" -DPACKAGE_VERSION="2.10" -DPACKAGE_STRING="yuma123\ 2.10" -DPACKAGE_BUGREPORT="vladimir@transpacket.com" -DPACKAGE_URL="" -DPACKAGE="yuma123" -DVERSION="2.10" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -I. -I ../../../netconf/src/netconfd/ -I../../../netconf/src/agt -I../../../netconf/src/mgr -I../../../netconf/src/ncx -I../../../netconf/src/platform -I../../../netconf/src/ydump -I/usr/include/libxml2 -I/usr/include/libxml2/libxml -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -fPIC -DDEBUG=1 -DLINUX=1 -DGCC=1 -DRELEASE=0 -DENABLE_DIRECT_MUST_AUGMENT_EX=1 -c -o netconfd-netconfd.o test -f '../../../netconf/src/netconfd/netconfd.c' || echo './'../../../netconf/src/netconfd/netconfd.c
/bin/bash ../../../libtool --tag=CC --mode=link gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -fPIC -DDEBUG=1 -DLINUX=1 -DGCC=1 -DRELEASE=0 -DENABLE_DIRECT_MUST_AUGMENT_EX=1 ../../../netconf/src/agt/libyumaagt.la ../../../netconf/src/ncx/libyumancx.la -lz -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro -o netconfd netconfd-netconfd.o
libtool: link: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -fPIC -DDEBUG=1 -DLINUX=1 -DGCC=1 -DRELEASE=0 -DENABLE_DIRECT_MUST_AUGMENT_EX=1 -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o .libs/netconfd netconfd-netconfd.o ../../../netconf/src/agt/.libs/libyumaagt.so ../../../netconf/src/ncx/.libs/libyumancx.so -lz -ldl
../../../netconf/src/agt/.libs/libyumaagt.so: undefined reference to `SHA1'
collect2: error: ld returned 1 exit status
Makefile:406: recipe for target 'netconfd' failed
make[2]: *** [netconfd] Error 1
make[2]: Leaving directory '/home/kaliyaperumal/Test_Open_Yuma/yuma123/netconf/src/netconfd'
Makefile:681: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kaliyaperumal/Test_Open_Yuma/yuma123'
dh_auto_build: make -j1 returned exit code 2
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

@techkals techkals changed the title Compilation failured Compilation failure Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant