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

RAN compilation fails for ue_ip #1

Open
surabhi-Siemens opened this issue Aug 26, 2020 · 1 comment
Open

RAN compilation fails for ue_ip #1

surabhi-Siemens opened this issue Aug 26, 2020 · 1 comment

Comments

@surabhi-Siemens
Copy link

Hi ,
I am trying to dockerize RAN.
I am using docker desktop. I used ubuntu 18.04 image and over that I m trying to compile oai using command ./build_oai -I -w SIMU --eNB --UE.
But compilation of ue_ip module is getting failed.

Below are the logs.

Scanning dependencies of target ue_ip
/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/netlink.c
make[4]: *** /lib/modules/4.19.76-linuxkit/build: No such file or directory. Stop.
CMakeFiles/ue_ip.dir/build.make:60: recipe for target 'ue_ip.ko' failed
make[3]: *** [ue_ip.ko] Error 2
CMakeFiles/Makefile2:1670: recipe for target 'CMakeFiles/ue_ip.dir/all' failed
make[2]: *** [CMakeFiles/ue_ip.dir/all] Error 2
CMakeFiles/Makefile2:1677: recipe for target 'CMakeFiles/ue_ip.dir/rule' failed
make[1]: *** [CMakeFiles/ue_ip.dir/rule] Error 2
Makefile:671: recipe for target 'ue_ip' failed
make: *** [ue_ip] Error 2

@NishanthMarumaka07
Copy link

Hi All,
I have been trying to install OAISIM, but getting ue_ip build have failed screeenshot also attached, below is the log file txt, would be helpful
error
if someone could someone guide to get through this problem.

/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/netlink.c
make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c: In function ‘ue_ip_timer’:
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:114:27: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
(priv_p->timer).function=ue_ip_timer;
^
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:116:18: error: ‘struct timer_list’ has no member named ‘data’
(priv_p->timer).data=dataP;
^
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c: In function ‘ue_ip_open’:
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:147:3: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(&priv_p->timer);
^
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:149:18: error: ‘struct timer_list’ has no member named ‘data’
(priv_p->timer).data = (unsigned long)priv_p;
^
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:150:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
(priv_p->timer).function = ue_ip_timer;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:330: recipe for target '/home/user/openairinterface5g/cmake_targets/oaisim_build_oai/build/CMakeFiles/ue_ip/device.o' failed
make[5]: *** [/home/user/openairinterface5g/cmake_targets/oaisim_build_oai/build/CMakeFiles/ue_ip/device.o] Error 1
Makefile:1584: recipe for target 'module/home/user/openairinterface5g/cmake_targets/oaisim_build_oai/build/CMakeFiles/ue_ip' failed
make[4]: *** [module/home/user/openairinterface5g/cmake_targets/oaisim_build_oai/build/CMakeFiles/ue_ip] Error 2
CMakeFiles/ue_ip.dir/build.make:60: recipe for target 'ue_ip.ko' failed
make[3]: *** [ue_ip.ko] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ue_ip.dir/all' failed
make[2]: *** [CMakeFiles/ue_ip.dir/all] Error 2
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/ue_ip.dir/rule' failed
make[1]: *** [CMakeFiles/ue_ip.dir/rule] Error 2
Makefile:118: recipe for target 'ue_ip' failed
make: *** [ue_ip] Error 2

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

2 participants