failure to implement O_LARGEFILES

Kayven Riese kayvey at gmail.com
Thu Jul 12 21:40:04 UTC 2012


bounced I can't include my source.  all necessary files are here

http://kayve.net/promog/

On Thu, Jul 12, 2012 at 2:25 PM, Kayven Riese <kayvey at gmail.com> wrote:

> I am trying to recompile a project in c using cairo graphics that I
> created a while back and I got a new version of an input file and I
> realized that I need to use large files for open().   I am running Ubunu
> Precise:
>
> kayve at kayve-Ubuntu11:~/Documents/microArray/Project/release$ uname -a
> Linux kayve-Ubuntu11 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14
> 16:45:14 UTC 2012 i686 i686 i386 GNU/Linux
> kayve at kayve-Ubuntu11:~/Documents/microArray/Project/release$
>
> I have attached source code and Makefile.  I didn't make a ./configure
> script, sorry, but I haven't needed it on a number of different Linux
> distros.
>
> Although I have implemented everything necessar in the Makefile (to my
> knowledge) I am still getting this error:
>
> kayve at kayve-Ubuntu11:~/Documents/microArray/Project/release$ make promog
> gcc -g -O0 `-D_GNU_SOURCE` -c promog.c  `pkg-config --cflags --libs cairo `
> /bin/sh: 1: -D_GNU_SOURCE: not found
> promog.c: In function ‘main’:
> promog.c:268:46: error: ‘O_LARGEFILE’ undeclared (first use in this
> function)
> promog.c:268:46: note: each undeclared identifier is reported only once
> for each function it appears in
> make: *** [promog.o] Error 1
> kayve at kayve-Ubuntu11:~/Documents/microArray/Project/release$
>
>
> Can someone please help me compile my work or perhaps make a suggestion
> where to go instead for help?  Thank you in advance.
>
>
> --
>   Sincerely,
>
>   Kayven Riese
> *----------------------------------------------------------*
>   Kayven Riese, MSCS,
>                       MS  (Physiology and Biophysics)
>   (415) 902 5513 cellular
>   http://kayve.net
>   Webmaster http://ChessYoga.org
> *----------------------------------------------------------*
>
>
>
>


-- 
  Sincerely,

  Kayven Riese
*----------------------------------------------------------*
  Kayven Riese, MSCS,
                      MS  (Physiology and Biophysics)
  (415) 902 5513 cellular
  http://kayve.net
  Webmaster http://ChessYoga.org
*----------------------------------------------------------*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120712/df625978/attachment.html>


More information about the ubuntu-users mailing list