All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rich Townsend <rhdt-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Compiling vbetool
Date: Mon, 07 Feb 2005 09:45:33 -0500	[thread overview]
Message-ID: <42077F0D.5020206@bartol.udel.edu> (raw)

I'm sure this isn't the correct place to post such a question, but I 
could find no other appropriate forum. Has anyone run into a problem 
trying to compile Matthew Garret's vbetool? Specifically:

if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKA                    GE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE=\"vbetool\" -DVERSION=\"0.2\"                      -I. -I. 
-g -Wall -Werror -pedantic -g -O2 -MT vbetool.o -MD -MP -MF ".deps/v 
                 betool.Tpo" \
   -c -o vbetool.o `test -f 'vbetool.c' || echo './'`vbetool.c; \
then mv -f ".deps/vbetool.Tpo" ".deps/vbetool.Po"; \
else rm -f ".deps/vbetool.Tpo"; exit 1; \
fi
In file included from /usr/include/stdlib.h:416,
                  from vbetool.c:14:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:24: error: previous declaration of 'dev_t' 
was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:30: error: previous declaration of 'mode_t' 
was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:33: error: previous declaration of 'nlink_t' 
was here
In file included from /usr/include/sys/types.h:216,
                  from /usr/include/stdlib.h:416,
                  from vbetool.c:14:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:21: error: previous declaration of 'fd_set' 
was here
make: *** [vbetool.o] Error 1

It looks like my headers are somehow borked, but I'm not sure how to go 
about fixing this. BTW, this is on a Gentoo-based system, running 2.6.10 
with glibc 2.3.4.

cheers,

Rich


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

             reply	other threads:[~2005-02-07 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07 14:45 Rich Townsend [this message]
     [not found] ` <42077F0D.5020206-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-07 14:53   ` Compiling vbetool Carl-Daniel Hailfinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42077F0D.5020206@bartol.udel.edu \
    --to=rhdt-obnux95toyn10jlvftc4ga@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.