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
Some version of gcc will ignore the linked Libraries if the -l options before the object files:
$ cc -Wall -Werror -lev -ggdb3 -I./include -o bin/unix-echo-server src/unix-echo-server.c obj/array-heap.o
ccVwfl0g.o: In function `ev_loop':
/usr/include/ev.h:826: undefined reference to `ev_run'
It is OK after moving the -lev to the end of the command:
Some version of gcc will ignore the linked Libraries if the -l options before the object files:
It is OK after moving the
-lev
to the end of the command:The text was updated successfully, but these errors were encountered: