Marco Graziano | Founder & CEO | Visible Energy, Inc. |Â530 Lytton Avenue, 2nd Floor, Palo Alto, CA 94301
Tel: (650)353-7812ÂÂ| Cell: (650)644-8867
Before you print this email or/ attachments, please consider the negative environmental impacts associated with printing.Â
Getting a linker error using libevent 2.1:marcog@marcog-VirtualBox:~/Cometa/cometa-mt/server$ makecc -Wall -g -I./include -L/usr/local/lib -levent -o cometa cometa.o request.o http_parser.o config.o rsyslog.o response.o routes.o api.o info.o webhooks.o websockets.o -l:libevent-2.1.so.5 Â-l:libevent_pthreads-2.1.so.5 -lpthread -lcrypto -lm -ldl -lwebsock -lconfig -lssl -lworkqueue -lbeanstalkÂ/usr/bin/ld: cometa.o: undefined reference to symbol 'event_base_add_virtual'/usr/local/lib/libevent-2.0.so.5: error adding symbols: DSO missing from command linecollect2: error: ld returned 1 exit statusmake: *** [cometa] Error 1While everything is fine with libevent 2.0:marcog@marcog-VirtualBox:~/Cometa/cometa-mt/server$ makecc -Wall -g -I./include -L/usr/local/lib -levent -o cometa cometa.o request.o http_parser.o config.o rsyslog.o response.o routes.o api.o info.o webhooks.o websockets.o -l:libevent-2.0.so.5 Â-l:libevent_pthreads-2.0.so.5 -lpthread -lcrypto -lm -ldl -lwebsock -lconfig -lssl -lworkqueue -lbeanstalkÂThe symbol is defined in both libraries:Â
Marco Graziano | Founder & CEO | Visible Energy, Inc. |Â530 Lytton Avenue, 2nd Floor, Palo Alto, CA 94301
Tel: (650)353-7812ÂÂ| Cell: (650)644-8867
Before you print this email or/ attachments, please consider the negative environmental impacts associated with printing.Â