sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: "David Brown" <dmlb2000 AT gmail.com>
- To: "Robin Cook" <rcook AT wyrms.net>
- Cc: sm-discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] glibc question also....
- Date: Tue, 23 Oct 2007 21:35:14 -0700
After a little bit of looking its a problem with the headers, probably
will post this to LKML and see what the headers should be using.
INT_MAX is defined inside a #ifdef __KERNEL__ in
include/linux/kernel.h since that define is inside the __KERNEL__
define its ripped out by the unifdef program used by the kernel to
generate the user space headers.
You could make a patch to define INT_MAX in growisofs.c like this
#include <linux/cdrom.h>
#define INT_MAX ((int)(~0U>>1))
Everywhere it includes cdrom.h from the kernel, otherwise I'll take it
up with lkml to see what cdrom.h should be using for INT_MAX
- David Brown
On 10/23/07, Robin Cook <rcook AT wyrms.net> wrote:
>
> I am having a problem compiling two spells: libcdio and dvd+rw-tools on my
> two machine that I have updated glibc on.
>
> growisofs is having a failure of INT_MAX not defined in function setup_fds
> at line 724.
>
> .It has the the below include.
>
> #include <linux/cdrom.h>
>
> This is the line where the error occurs.
>
> if (ioctl (ioctl_fd,CDROM_MEDIA_CHANGED,CDSL_CURRENT) < 0)
>
> And this is the defines in cdrom.h.
>
> cdrom.h:#define CDSL_CURRENT INT_MAX
>
> Is there something in the glibc spell that in not being setup that is
> causing this?
>
> Thanks
> CuZnDragon
>
>
>
>
-
[SM-Discuss] glibc question,
Treeve Jelbert, 10/17/2007
- Re: [SM-Discuss] glibc question, Andraž 'ruskie' Levstik, 10/17/2007
-
Re: [SM-Discuss] glibc question,
David Brown, 10/17/2007
-
[SM-Discuss] glibc question also....,
Robin Cook, 10/23/2007
-
Re: [SM-Discuss] glibc question also....,
David Brown, 10/24/2007
-
Re: [SM-Discuss] glibc question also....,
Thomas Orgis, 10/24/2007
- Re: [SM-Discuss] glibc question also...., David Brown, 10/24/2007
-
Re: [SM-Discuss] glibc question also....,
Thomas Orgis, 10/24/2007
-
Re: [SM-Discuss] glibc question also....,
David Brown, 10/24/2007
-
[SM-Discuss] glibc question also....,
Robin Cook, 10/23/2007
Archive powered by MHonArc 2.6.24.