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
Oh no. That's not great. So the lib.o file comes from another package and
there appears to be linking errors.
This should be able to be solved by following the lib.o not linking section
of the Readme. Basically compile https://github.com/linux-can/can-utils
and copy the resulting lib.o from there to this project.
Hm, after
sudo apt-get install libsdl2-dev libsdl2-image-dev can-utils
I got rid of it.
Output looks clean (although I don't know how it really should look):
Hi, My laptop is Macbook Pro 14' M1. I suspect the error comes from the M1 chip.
Does anyone can help me out!
arallels@ubuntu-linux-20-04-desktop:~/Downloads/ICSim/ICSim-master$ make
gcc -I/usr/include/SDL2 -c -o icsim.o icsim.c
gcc lib.c
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/9/../../../aarch64-linux-gnu/Scrt1.o: in function
_start': (.text+0x18): undefined reference to
main'/usr/bin/ld: (.text+0x1c): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [Makefile:14: lib.o] Error 1
The text was updated successfully, but these errors were encountered: