[Live-devel] Re: live-devel Digest, Vol 21, Issue 11
worm520
worm520 at gmail.com
Thu Jul 14 11:55:37 PDT 2005
Dear Jon:
Well, this symbol seems cause compiler complaints several times.
According to http://www.sbin.org/doc/glibc/libc_1.html, user needs to
define the macro _LARGEFILE_SOURCE to enable the function if it is
unavailable. You can add -D_LARGEFILE_SOURCE=1 to your compiler option
and this should solve your problem.
BTW, this option has to be placed in appropriate config.***linux files
since most cross-compiler is only compatiable with gcc-2.95.
BR.
Worm
> Hi all,
>
> I noticed that everytime I compile the
> ByteStreamFileSource.cpp, there will be an error,
> where the compiler complain that there is implicit
> defination of fseeko at Line 77:
> return fseeko(fid, (off_t)(offset), whence);
>
> After I change the fseeko(..) to fseek(..), the
> compliler ran happily. I wonder if my system has no
> such function defined, or is it just a typo. I am
> using Debian linux for my development.
>
> I am using code dated on 12th July, and also 1st July.
>
> Regards,
> Ryan
More information about the live-devel
mailing list