Re: [Flightgear-devel] FGCOM fails to compile. Still.

2007-11-23 Thread Robert Black
On Thursday 22 November 2007 03:09:40 pm AnMaster wrote:
 /usr/include/alsa/global.h:134: error: redefinition of 'struct timeval'
 /usr/include/alsa/global.h:139: error: redefinition of 'struct timespec'

I got it to compile native alsa by going to global.h and deleting those timing 
lines between the diff. Not sure what the effects will be but it does compile 
and does not error when using with Flightgear. It works fine standalone (ATC 
mode) but is not working when running with Flightgear.  Will plug away some 
more today.   

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCOM fails to compile. Still.

2007-11-23 Thread Holger Wirtz
Hi,

On Thu, Nov 22, 2007 at 10:09:40PM +0100, AnMaster wrote:
[...]
 - -DAUDIO_ALSA -Ilibiax2/src -DLIBIAX  -DSPEEX_EC=1 -DLINUX   -c -o 
 audio_alsa.o
 audio_alsa.c
 In file included from /usr/include/alsa/asoundlib.h:44,
  from audio_alsa.c:20:
 /usr/include/alsa/global.h:134: error: redefinition of 'struct timeval'
 /usr/include/alsa/global.h:139: error: redefinition of 'struct timespec'
 audio_alsa.c: In function 'alsa_output':
 audio_alsa.c:91: warning: format '%d' expects type 'int', but argument 2 has
 type 'long int'
 audio_alsa.c: In function 'alsa_initialize':
 audio_alsa.c:137: warning: unused variable 'buf'
 audio_alsa.c:135: warning: unused variable 'i'
 make[1]: *** [audio_alsa.o] Error 1
 make[1]: Leaving directory `/mnt/src/arvid/fgcom/iaxclient/lib'
 make: *** [iaxstatic] Error 2
 
 
 I tried the native ALSA support.
[...]

The Version 1.x is not 64bit clean :-( Version 2.x will be (hopefully).
But at this time it might be better to work with 1.x. After everything
runs fine for a time I will try to merge to 2.x for an unstable
version.

Or try to check out the unstable release and compile fgcom against 2.x:

svn checkout https://iaxclient.svn.sourceforge.net/svnroot/iaxclient/trunk

Regards, Holger

-- 
#   ##  ##   Holger Wirtz Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein   Fax   : (+49 30) 884299-70
##  ##  ##   Stresemannstr. 78E-Mail: [EMAIL PROTECTED]
##  ## ##   ## ###   10963 Berlin
#  ##   ##  ##   GERMANY  WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] FGCOM fails to compile. Still.

2007-11-22 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

When trying to compile FGCOM (Gentoo Linux 64-bit) revision 64:
[...]
cc -I. -Igsm/inc -Iportaudio/include -Iportaudio/src/common -Iportaudio/pablio
- -Iportmixer/px_common -Ilibspeex/include --std=c99 -Wall -Wmissing-noreturn -g
- -O2 -DLIBVER='SVN 42M' -DSPEEX_PREPROCESS=1 -DNEWJB -Iportaudio/src/os/unix
- -DAUDIO_ALSA -Ilibiax2/src -DLIBIAX  -DSPEEX_EC=1 -DLINUX   -c -o
portaudio/pablio/ringbuffer.o portaudio/pablio/ringbuffer.c
cc -I. -Igsm/inc -Iportaudio/include -Iportaudio/src/common -Iportaudio/pablio
- -Iportmixer/px_common -Ilibspeex/include --std=c99 -Wall -Wmissing-noreturn -g
- -O2 -DLIBVER='SVN 42M' -DSPEEX_PREPROCESS=1 -DNEWJB -Iportaudio/src/os/unix
- -DAUDIO_ALSA -Ilibiax2/src -DLIBIAX  -DSPEEX_EC=1 -DLINUX   -c -o audio_alsa.o
audio_alsa.c
In file included from /usr/include/alsa/asoundlib.h:44,
 from audio_alsa.c:20:
/usr/include/alsa/global.h:134: error: redefinition of 'struct timeval'
/usr/include/alsa/global.h:139: error: redefinition of 'struct timespec'
audio_alsa.c: In function 'alsa_output':
audio_alsa.c:91: warning: format '%d' expects type 'int', but argument 2 has
type 'long int'
audio_alsa.c: In function 'alsa_initialize':
audio_alsa.c:137: warning: unused variable 'buf'
audio_alsa.c:135: warning: unused variable 'i'
make[1]: *** [audio_alsa.o] Error 1
make[1]: Leaving directory `/mnt/src/arvid/fgcom/iaxclient/lib'
make: *** [iaxstatic] Error 2


I tried the native ALSA support.

Regards,

AnMaster
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHRfAPWmK6ng/aMNkRCr1lAKC4foM28Xmw+PvdB97ltZAhGsNtDwCfYVf4
Ib4lt6UCDgYz37AyLkF+aoA=
=hhNf
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel