Re: how does aio_write() work
- From: Spoon <devnull@xxxxxxxxxxxxx>
- Date: Thu, 15 Feb 2007 16:59:07 +0100
nass wrote:
may i go ahead and ask why do i get a linker error 'undefined
reference to aio_write'
since i have #include <aio.h> in my class's header file ?
#include directives are for the preprocessor and compiler.
You need to tell your linker where to find aio_write.
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/rt/?cvsroot=glibc
Add -lrt
.
- Follow-Ups:
- Re: how does aio_write() work
- From: nass
- Re: how does aio_write() work
- References:
- how does aio_write() work
- From: nass
- Re: how does aio_write() work
- From: Rainer Temme
- Re: how does aio_write() work
- From: nass
- how does aio_write() work
- Prev by Date: Re: how does aio_write() work
- Next by Date: Re: Please explain why kill -9 doesn't always kill
- Previous by thread: Re: how does aio_write() work
- Next by thread: Re: how does aio_write() work
- Index(es):
Relevant Pages
|