View Issue Details

IDProjectCategoryView StatusLast Update
0000403easycwmpGeneralpublic2020-03-12 14:03
Reportermianasif Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformubuntuOSubuntuOS Version18.04.3 LTS
Summary0000403: CMakeFiles/ubusd.dir/build.make:198: recipe for target 'ubusd' failed
Descriptioni am unable to install ubus, kindly let me know how to fix this error?

root@tr069-2:/opt/git/ubus# cmake CMakeLists.txt -DBUILD_LUA=OFF
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'systemd'
-- Found systemd, version 237
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/git/ubus
root@tr069-2:/opt/git/ubus#
root@tr069-2:/opt/git/ubus#
root@tr069-2:/opt/git/ubus#
root@tr069-2:/opt/git/ubus# make
[ 5%] Building C object CMakeFiles/ubusd.dir/ubusd.c.o
[ 11%] Building C object CMakeFiles/ubusd.dir/ubusd_id.c.o
[ 16%] Building C object CMakeFiles/ubusd.dir/ubusd_obj.c.o
[ 22%] Building C object CMakeFiles/ubusd.dir/ubusd_proto.c.o
[ 27%] Building C object CMakeFiles/ubusd.dir/ubusd_event.c.o
[ 33%] Linking C executable ubusd
/usr/bin/ld: cannot find -lubox
collect2: error: ld returned 1 exit status
CMakeFiles/ubusd.dir/build.make:198: recipe for target 'ubusd' failed
make[2]: *** [ubusd] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ubusd.dir/all' failed
make[1]: *** [CMakeFiles/ubusd.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
TagsNo tags attached.
e-mail notification

Activities

user13

2020-03-12 14:03

  ~0000990

did you build the libubox lib ?

please refer to the easycwmp tutorial (http://easycwmp.org/tutorial) to build it

Issue History

Date Modified Username Field Change
2020-01-06 11:39 mianasif New Issue
2020-03-12 14:03 user13 Note Added: 0000990