OpenClovis / OpenYuma

Fork of the defacto standard Yuma project since it went proprietary. Netconf is a management protocol (similar to SNMP) defined in RFC4741.
68 stars 51 forks source link

Openyuma package compilation is broken #16

Closed anukulverma closed 8 years ago

anukulverma commented 8 years ago

../../target/lib/libncx.so: undefined reference to `clock_gettime' collect2: ld returned 1 exit status make[3]: *\ [subsys] Error 1

Needs to include -lrt option

hoangle commented 8 years ago

Hi,

Could you please give me full make command and log details with "make V=1"?

Thanks, Hoang

anukulverma commented 8 years ago

Hi Hoang,

I used "make all" for compilation.

Find attached log for "make V=1", same error i got with "make all" also.

make log.txt

Regards, Anukul

hoangle commented 8 years ago

Hi Anukul,

I see another error in make logs:

Makefile:78: dependencies: No such file or directory

Please give a try and let me know a result: $cd /tmp/OpenYuma-master $git pull $make distclean $make V=1

Regards, Hoang

anukulverma commented 8 years ago

Find the logs

make log.txt

hoangle commented 8 years ago

At first glance: fatal: Not a git repository (or any of the parent directories): .git

AndrewStoneOpenClovis commented 8 years ago

You are right that function call is located in -lrt. Thanks for the submission! Weird that link was fine on Ubuntu Mint. What Linux distro are you running?

anukulverma commented 8 years ago

I am using fedora 17