All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Caloro Maurizio" <mauric@gmx.ch>
To: alsa-devel@alsa-project.org
Subject: Building trouble - redefinition of struct timeval
Date: Wed, 25 Jun 2008 15:54:09 +0200	[thread overview]
Message-ID: <20080625135409.236240@gmx.net> (raw)


Please i need help for following error message "redefinition of struct timeval - /include/global.h"

the configure script run without any Error, if i compile "alsa-lib-1.0.17rc2" on I386 Netbsd 4.0
i receive folowing error break.

"./configure --prefix=/usr --sysconfdir=/etc --build=i386-unknown-netbsdelf4.0 --host=i386-unknown-netbsdelf4.0 --target=i386-unknown-netbsdelf4.0 --with-pythonlibs=lpython2.5 --with-pythonincludes=-I/usr/include/python2.5 --enable-shared=no --enable-static=yes" & gmake

gmake ... >

Making all in controll
gmake[1]: Entering directory `/usr/source/alsa-lib-1.0.17rc2/src/control'
if /bin/ksh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include    -g -O2 -MT cards.lo -MD -MP -MF ".deps/cards.Tpo" -c -o cards.lo cards.c; \
        then mv -f ".deps/cards.Tpo" ".deps/cards.Plo"; else rm -f ".deps/cards.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT cards.lo -MD -MP -MF .deps/cards.Tpo -c cards.c -o cards.o
In file included from ../../include/local.h:109,
                 from control_local.h:22,
                 from cards.c:35:
../../include/global.h:138: error: redefinition of 'struct timeval'
../../include/global.h:143: error: redefinition of 'struct timespec'
gmake[1]: *** [cards.lo] Error 1
gmake[1]: Leaving directory `/usr/source/alsa-lib-1.0.17rc2/src/control'
gmake: *** [all-recursive] Error 1


i have see that this its a possible  handle with Posix_C_Source but i dont found 
the correct answer for me trouble.... Please for any Help i'am happy.

thanks
MC


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

             reply	other threads:[~2008-06-25 13:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 13:54 Caloro Maurizio [this message]
2008-06-25 15:50 ` Building trouble - redefinition of struct timeval Takashi Iwai
2008-06-26  8:40   ` Caloro Maurizio
2008-06-26 15:27     ` Takashi Iwai
2008-06-27 13:58       ` Caloro Maurizio
2008-06-27 14:08         ` Takashi Iwai

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=20080625135409.236240@gmx.net \
    --to=mauric@gmx.ch \
    --cc=alsa-devel@alsa-project.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.