[Libevent-users] Undefined reference
Scott Lamb
slamb at slamb.org
Thu Sep 20 19:40:38 EDT 2007
Marcelo Estanislau Geyer wrote:
> Hi,
>
> I'm development small program in C++ on Linux (Fedora 7 and Kdevelop).
> When compiling the program, is appearing the following message:
>
> undefined reference to `event_init'
>
> I have add header event.h, but I am with difficulties to work with this
> library due to these errors.
The header is used at compile-time. 'undefined reference' is a link-time
error. You need to link in -levent as well.
> Thanks,
>
> Marcelo Estanislau
> Brazil.
>
> ------------------------------------------------------------------------
> Receba GRÁTIS as últimas novidades do esporte direto no seu Messenger!
> Assine já!
> <http://signup.alerts.live.com/alerts/login.do?PINID=37485679&returnURL=http://www.nivea.com.br>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Libevent-users mailing list
> Libevent-users at monkey.org
> http://monkey.org/mailman/listinfo/libevent-users
More information about the Libevent-users
mailing list