Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36427 - media-libs/libsdl-1.2.6-r3 failed
Summary: media-libs/libsdl-1.2.6-r3 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-24 07:44 UTC by Pierre Thonne
Modified: 2011-09-14 20:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Thonne 2003-12-24 07:44:38 UTC
Error when compiling libsdl:

gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.6\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium3 -O2 -pipe -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.1/include/artsc -DNAS_SUPPORT -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -c SDL_nasaudio.c  -fPIC -DPIC -o .libs/SDL_nasaudio.lo
In file included from SDL_nasaudio.c:47:
SDL_nasaudio.h:38:28: audio/audiolib.h: No such file or directory
In file included from SDL_nasaudio.c:47:
SDL_nasaudio.h:47: parse error before "AuServer"
SDL_nasaudio.h:47: warning: no semicolon at end of struct or union
SDL_nasaudio.h:48: warning: type defaults to `int' in declaration of `flow'
SDL_nasaudio.h:48: warning: data definition has no type or storage class
SDL_nasaudio.h:49: parse error before "dev"
SDL_nasaudio.h:49: warning: type defaults to `int' in declaration of `dev'
SDL_nasaudio.h:49: warning: data definition has no type or storage class
SDL_nasaudio.h:63: parse error before '}' token
SDL_nasaudio.c: In function `Audio_Available':
SDL_nasaudio.c:65: `AuServer' undeclared (first use in this function)
SDL_nasaudio.c:65: (Each undeclared identifier is reported only once
SDL_nasaudio.c:65: for each function it appears in.)
SDL_nasaudio.c:65: `aud' undeclared (first use in this function)
SDL_nasaudio.c:65: warning: implicit declaration of function `AuOpenServer'
SDL_nasaudio.c:68: warning: implicit declaration of function `AuCloseServer'
SDL_nasaudio.c: In function `Audio_CreateDevice':
SDL_nasaudio.c:87: dereferencing pointer to incomplete type
SDL_nasaudio.c:96: dereferencing pointer to incomplete type
SDL_nasaudio.c:96: dereferencing pointer to incomplete type
SDL_nasaudio.c:96: dereferencing pointer to incomplete type
SDL_nasaudio.c:96: dereferencing pointer to incomplete type
SDL_nasaudio.c:96: dereferencing pointer to incomplete type
SDL_nasaudio.c:96: dereferencing pointer to incomplete type
SDL_nasaudio.c: In function `NAS_WaitAudio':
SDL_nasaudio.c:118: dereferencing pointer to incomplete type
SDL_nasaudio.c:118: dereferencing pointer to incomplete type
SDL_nasaudio.c:119: `AuEvent' undeclared (first use in this function)
SDL_nasaudio.c:119: parse error before "ev"
SDL_nasaudio.c:120: warning: implicit declaration of function `AuNextEvent'
SDL_nasaudio.c:120: dereferencing pointer to incomplete type
SDL_nasaudio.c:120: `AuTrue' undeclared (first use in this function)
SDL_nasaudio.c:120: `ev' undeclared (first use in this function)
SDL_nasaudio.c:121: warning: implicit declaration of function `AuDispatchEvent'
SDL_nasaudio.c:121: dereferencing pointer to incomplete type
SDL_nasaudio.c: In function `NAS_PlayAudio':
SDL_nasaudio.c:127: dereferencing pointer to incomplete type
SDL_nasaudio.c:127: dereferencing pointer to incomplete type
SDL_nasaudio.c:130: `AuEvent' undeclared (first use in this function)
SDL_nasaudio.c:130: parse error before "ev"
SDL_nasaudio.c:131: dereferencing pointer to incomplete type
SDL_nasaudio.c:131: `AuTrue' undeclared (first use in this function)
SDL_nasaudio.c:131: `ev' undeclared (first use in this function)
SDL_nasaudio.c:132: dereferencing pointer to incomplete type
SDL_nasaudio.c:134: dereferencing pointer to incomplete type
SDL_nasaudio.c:134: dereferencing pointer to incomplete type
SDL_nasaudio.c:137: warning: implicit declaration of function `AuWriteElement'
SDL_nasaudio.c:137: dereferencing pointer to incomplete type
SDL_nasaudio.c:137: dereferencing pointer to incomplete type
SDL_nasaudio.c:137: dereferencing pointer to incomplete type
SDL_nasaudio.c:137: dereferencing pointer to incomplete type
SDL_nasaudio.c:137: `AuFalse' undeclared (first use in this function)
SDL_nasaudio.c:139: dereferencing pointer to incomplete type
SDL_nasaudio.c:139: dereferencing pointer to incomplete type
SDL_nasaudio.c: In function `NAS_GetAudioBuf':
SDL_nasaudio.c:148: dereferencing pointer to incomplete type
SDL_nasaudio.c: In function `NAS_CloseAudio':
SDL_nasaudio.c:153: dereferencing pointer to incomplete type
SDL_nasaudio.c:154: dereferencing pointer to incomplete type
SDL_nasaudio.c:155: dereferencing pointer to incomplete type
SDL_nasaudio.c:157: dereferencing pointer to incomplete type
SDL_nasaudio.c:158: dereferencing pointer to incomplete type
SDL_nasaudio.c:159: dereferencing pointer to incomplete type
SDL_nasaudio.c: In function `sdlformat_to_auformat':
SDL_nasaudio.c:168: `AuFormatLinearUnsigned8' undeclared (first use in this function)
SDL_nasaudio.c:170: `AuFormatLinearSigned8' undeclared (first use in this function)
SDL_nasaudio.c:172: `AuFormatLinearUnsigned16LSB' undeclared (first use in this function)
SDL_nasaudio.c:174: `AuFormatLinearUnsigned16MSB' undeclared (first use in this function)
SDL_nasaudio.c:176: `AuFormatLinearSigned16LSB' undeclared (first use in this function)
SDL_nasaudio.c:178: `AuFormatLinearSigned16MSB' undeclared (first use in this function)
SDL_nasaudio.c:180: `AuNone' undeclared (first use in this function)
SDL_nasaudio.c: At top level:
SDL_nasaudio.c:184: parse error before "event_handler"
SDL_nasaudio.c:184: parse error before '*' token
SDL_nasaudio.c:185: warning: return type defaults to `int'
SDL_nasaudio.c: In function `event_handler':
SDL_nasaudio.c:186: `ev' undeclared (first use in this function)
SDL_nasaudio.c:187: `AuEventTypeElementNotify' undeclared (first use in this function)
SDL_nasaudio.c:188: `AuElementNotifyEvent' undeclared (first use in this function)
SDL_nasaudio.c:188: `event' undeclared (first use in this function)
SDL_nasaudio.c:188: parse error before ')' token
SDL_nasaudio.c:191: `AuElementNotifyKindLowWater' undeclared (first use in this function)
SDL_nasaudio.c:192: dereferencing pointer to incomplete type
SDL_nasaudio.c:193: dereferencing pointer to incomplete type
SDL_nasaudio.c:194: dereferencing pointer to incomplete type
SDL_nasaudio.c:195: dereferencing pointer to incomplete type
SDL_nasaudio.c:197: dereferencing pointer to incomplete type
SDL_nasaudio.c:200: `AuElementNotifyKindState' undeclared (first use in this function)
SDL_nasaudio.c:202: `AuStatePause' undeclared (first use in this function)
SDL_nasaudio.c:203: `AuReasonUser' undeclared (first use in this function)
SDL_nasaudio.c:204: dereferencing pointer to incomplete type
SDL_nasaudio.c:205: dereferencing pointer to incomplete type
SDL_nasaudio.c:206: dereferencing pointer to incomplete type
SDL_nasaudio.c:207: dereferencing pointer to incomplete type
SDL_nasaudio.c:209: dereferencing pointer to incomplete type
SDL_nasaudio.c:217: `AuTrue' undeclared (first use in this function)
SDL_nasaudio.c: At top level:
SDL_nasaudio.c:221: parse error before "find_device"
SDL_nasaudio.c:222: warning: return type defaults to `int'
SDL_nasaudio.c: In function `find_device':
SDL_nasaudio.c:224: warning: implicit declaration of function `AuServerNumDevices'
SDL_nasaudio.c:224: dereferencing pointer to incomplete type
SDL_nasaudio.c:225: warning: implicit declaration of function `AuDeviceKind'
SDL_nasaudio.c:225: warning: implicit declaration of function `AuServerDevice'
SDL_nasaudio.c:225: dereferencing pointer to incomplete type
SDL_nasaudio.c:226: `AuComponentKindPhysicalOutput' undeclared (first use in this function)
SDL_nasaudio.c:227: warning: implicit declaration of function `AuDeviceNumTracks'
SDL_nasaudio.c:227: dereferencing pointer to incomplete type
SDL_nasaudio.c:228: warning: implicit declaration of function `AuDeviceIdentifier'
SDL_nasaudio.c:228: dereferencing pointer to incomplete type
SDL_nasaudio.c:231: `AuNone' undeclared (first use in this function)
SDL_nasaudio.c: In function `NAS_OpenAudio':
SDL_nasaudio.c:236: `AuElement' undeclared (first use in this function)
SDL_nasaudio.c:236: parse error before "elms"
SDL_nasaudio.c:240: dereferencing pointer to incomplete type
SDL_nasaudio.c:248: `AuNone' undeclared (first use in this function)
SDL_nasaudio.c:258: dereferencing pointer to incomplete type
SDL_nasaudio.c:259: dereferencing pointer to incomplete type
SDL_nasaudio.c:265: dereferencing pointer to incomplete type
SDL_nasaudio.c:266: dereferencing pointer to incomplete type
SDL_nasaudio.c:266: dereferencing pointer to incomplete type
SDL_nasaudio.c:266: warning: implicit declaration of function `AuCreateFlow'
SDL_nasaudio.c:266: dereferencing pointer to incomplete type
SDL_nasaudio.c:267: dereferencing pointer to incomplete type
SDL_nasaudio.c:268: dereferencing pointer to incomplete type
SDL_nasaudio.c:285: warning: implicit declaration of function `AuMakeElementImportClient'
SDL_nasaudio.c:285: `elms' undeclared (first use in this function)
SDL_nasaudio.c:285: `AuTrue' undeclared (first use in this function)
SDL_nasaudio.c:287: warning: implicit declaration of function `AuMakeElementExportDevice'
SDL_nasaudio.c:287: dereferencing pointer to incomplete type
SDL_nasaudio.c:288: `AuUnlimitedSamples' undeclared (first use in this function)
SDL_nasaudio.c:289: warning: implicit declaration of function `AuSetElements'
SDL_nasaudio.c:289: dereferencing pointer to incomplete type
SDL_nasaudio.c:289: dereferencing pointer to incomplete type
SDL_nasaudio.c:290: warning: implicit declaration of function `AuRegisterEventHandler'
SDL_nasaudio.c:290: dereferencing pointer to incomplete type
SDL_nasaudio.c:290: `AuEventHandlerIDMask' undeclared (first use in this function)
SDL_nasaudio.c:290: dereferencing pointer to incomplete type
SDL_nasaudio.c:291: `AuPointer' undeclared (first use in this function)
SDL_nasaudio.c:293: warning: implicit declaration of function `AuStartFlow'
SDL_nasaudio.c:293: dereferencing pointer to incomplete type
SDL_nasaudio.c:293: dereferencing pointer to incomplete type
SDL_nasaudio.c:296: dereferencing pointer to incomplete type
SDL_nasaudio.c:297: dereferencing pointer to incomplete type
SDL_nasaudio.c:297: dereferencing pointer to incomplete type
SDL_nasaudio.c:298: dereferencing pointer to incomplete type
SDL_nasaudio.c:301: dereferencing pointer to incomplete type
SDL_nasaudio.c:301: dereferencing pointer to incomplete type
SDL_nasaudio.c:301: dereferencing pointer to incomplete type
SDL_nasaudio.c:301: dereferencing pointer to incomplete type
SDL_nasaudio.c:304: dereferencing pointer to incomplete type
make[3]: *** [SDL_nasaudio.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.6-r3/work/SDL-1.2.6/src/audio/nas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.6-r3/work/SDL-1.2.6/src/audio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.6-r3/work/SDL-1.2.6/src'
make: *** [all-recursive] Error 1
 
!!! ERROR: media-libs/libsdl-1.2.6-r3 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! emake failed

Here a locate of audiolib.h

Toonemach2 root # locate audiolib.h
/usr/include/mjpegtools/audiolib.h
/usr/X11R6/include/audio/audiolib.h


Reproducible: Always
Steps to Reproduce:
1.just emerge -u libsdl
2.
3.

Actual Results:  
error

Expected Results:  
compiling error free
Comment 1 SpanKY gentoo-dev 2003-12-24 12:24:18 UTC

*** This bug has been marked as a duplicate of 32447 ***
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:19 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:38:26 UTC
clean up bug list after bugzilla update