You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding musl to kraft.yaml libraries, selecting it in menuconfig and compiling, the following error occurs:
2021-03-14 00:43:01 INFO LD libmuslglue.ld.o
2021-03-14 00:43:01 INFO OBJCOPY libmuslglue.o
2021-03-14 00:43:01 INFO LD libmusl.ld.o
2021-03-14 00:43:02 INFO OBJCOPY libmusl.o
2021-03-14 00:43:03 INFO LD app-gats_kvm-x86_64.ld.o
/usr/bin/ld: /home/jan/Desktop/gats2/apps/app-gats/build/libmusl.o: in function `timer_create':
/home/jan/Desktop/gats2/apps/app-gats/build/libmusl/origin/musl-1.1.19//src/time/timer_create.c:82: multiple definition of `timer_create'; /home/jan/Desktop/gats2/apps/app-gats/build/libuktime.o:/home/jan/.unikraft/unikraft/lib/uktime/timer.c:42: first defined here
/usr/bin/ld: /home/jan/Desktop/gats2/apps/app-gats/build/libmusl.o: in function `timer_delete':
/home/jan/Desktop/gats2/apps/app-gats/build/libmusl/origin/musl-1.1.19//src/time/timer_delete.c:6: multiple definition of `timer_delete'; /home/jan/Desktop/gats2/apps/app-gats/build/libuktime.o:/home/jan/.unikraft/unikraft/lib/uktime/timer.c:49: first defined here
/usr/bin/ld: /home/jan/Desktop/gats2/apps/app-gats/build/libmusl.o: in function `timer_gettime':
/home/jan/Desktop/gats2/apps/app-gats/build/libmusl/origin/musl-1.1.19//src/time/timer_gettime.c:6: multiple definition of `timer_gettime'; /home/jan/Desktop/gats2/apps/app-gats/build/libuktime.o:/home/jan/.unikraft/unikraft/lib/uktime/timer.c:67: first defined here
/usr/bin/ld: /home/jan/Desktop/gats2/apps/app-gats/build/libmusl.o: in function `scandir':
/home/jan/Desktop/gats2/apps/app-gats/build/libmusl/origin/musl-1.1.19//src/dirent/scandir.c:12: multiple definition of `scandir'; /home/jan/Desktop/gats2/apps/app-gats/build/libvfscore.o:/home/jan/.unikraft/unikraft/lib/vfscore/main.c:908: first defined here
/usr/bin/ld: /home/jan/Desktop/gats2/apps/app-gats/build/libmusl.o: in function `timer_getoverrun':
/home/jan/Desktop/gats2/apps/app-gats/build/libmusl/origin/musl-1.1.19//src/time/timer_getoverrun.c:6: multiple definition of `timer_getoverrun'; /home/jan/Desktop/gats2/apps/app-gats/build/libuktime.o:/home/jan/.unikraft/unikraft/lib/uktime/timer.c:74: first defined here
/usr/bin/ld: /home/jan/Desktop/gats2/apps/app-gats/build/libmusl.o: in function `timer_settime':
/home/jan/Desktop/gats2/apps/app-gats/build/libmusl/origin/musl-1.1.19//src/time/timer_settime.c:6: multiple definition of `timer_settime'; /home/jan/Desktop/gats2/apps/app-gats/build/libuktime.o:/home/jan/.unikraft/unikraft/lib/uktime/timer.c:59: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [/home/jan/.unikraft/unikraft/plat/kvm/Linker.uk:22: /home/jan/Desktop/gats2/apps/app-gats/build/app-gats_kvm-x86_64.dbg] Error 1
make[1]: *** [Makefile:984: sub-make] Error 2
make: *** [Makefile:32: _all] Error 2
2021-03-14 00:43:03 INFO make: Leaving directory '/home/jan/.unikraft/unikraft'
The text was updated successfully, but these errors were encountered:
When adding musl to kraft.yaml libraries, selecting it in menuconfig and compiling, the following error occurs:
The text was updated successfully, but these errors were encountered: