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
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