Skip to content

does not 'make' under U14.04 #7

@bbulkow

Description

@bbulkow

Just cloned on ubuntu 14.04 with the default libev.

This is the #1 google result for "libev examples" - it would be nice if it worked with the most common developer distribution.

brian@ubuntu1404-vm:/dev/libev-examples$ make
cc -Wall -Werror -lev -ggdb3 -I./include -o obj/array-heap.o -c src/array-heap.c
cc -Wall -Werror -lev -ggdb3 -I./include -o bin/unix-echo-server src/unix-echo-server.c obj/array-heap.o
/tmp/ccDrpTcP.o: In function ev_loop': /usr/include/ev.h:826: undefined reference toev_run'
/tmp/ccDrpTcP.o: In function client_cb': /home/brian/dev/libev-examples/src/unix-echo-server.c:53: undefined reference toev_io_stop'
/tmp/ccDrpTcP.o: In function server_cb': /home/brian/dev/libev-examples/src/unix-echo-server.c:110: undefined reference toev_io_start'
/tmp/ccDrpTcP.o: In function main': /home/brian/dev/libev-examples/src/unix-echo-server.c:173: undefined reference toev_default_loop'
/home/brian/dev/libev-examples/src/unix-echo-server.c:180: undefined reference to ev_periodic_start' /home/brian/dev/libev-examples/src/unix-echo-server.c:184: undefined reference toev_io_start'
collect2: error: ld returned 1 exit status
make: *** [bin/unix-echo-server] Error 1
brian@ubuntu1404-vm:
/dev/libev-examples$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions