[Live-devel] Note in ByteStreamFileSource.cpp

Ryan Chong fantasychong at yahoo.com
Wed Jul 13 20:24:55 PDT 2005


Hi,

I search help from my friend, and found that after
including the compilation option with the flag:
-D_LARGEFILE_SOURCE
(COMPILE_OPTS =          $(INCLUDES) -I. -O2
-DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE
)

the file could be compiled without complain.

Just want to share.

Regards,
Ryan


--- Ross Finlayson <finlayson at live.com> wrote:

> 
> >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.
> 
> No, it's not a typo.  "fseeko()" is a real function,
> and is used for 
> seeking within files that are > 2^32 bytes in size.
> 
> "fseeko()" should exist in your system somewhere;
> search for it in 
> "/usr/include".  If the code needs an extra
>          #include
> to make it compile on your system, then let me know,
> and I'll add it.
> 
> 
> 	Ross Finlayson
> 	LIVE.COM
> 	<http://www.live.com/>
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


More information about the live-devel mailing list