public
Created

Errors encountered when attempting to compile Pygame 1.9.2 with SDL 1.3

  • Download Gist
errors.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
Here's what I get from running `./configure` in the pygame 1.9.2 source dir:
 
mal:pygame mike$ ./configure
Using Darwin configuration...
 
sh: smpeg-config: command not found
sh: smpeg-config: command not found
sh: smpeg-config: command not found
WARNING: "smpeg-config" failed!
Hunting dependencies...
SDL : found 1.3.0
FONT : found
IMAGE : found
MIXER : found
SMPEG : not found
Framework CoreMidi found
Framework QuickTime found
PNG : found
JPEG : found
SCRAP : not found
PORTMIDI: not found
FREETYPE: found 2.4.4
AVFORMAT: not found
SWSCALE : not found
 
Then when I run `sudo python setup.py install`, I the following error (eventually) occurs:
 
building 'pygame.imageext' extension
creating build/temp.macosx-10.7-intel-2.7
creating build/temp.macosx-10.7-intel-2.7/src
llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -Ddarwin -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/imageext.c -o build/temp.macosx-10.7-intel-2.7/src/imageext.o
In file included from /usr/local/include/SDL/SDL.h:75,
from src/pygame.h:128,
from src/imageext.c:47:
/usr/local/include/SDL/SDL_atomic.h: In function ‘SDL_AtomicSetPtr’:
/usr/local/include/SDL/SDL_atomic.h:289: warning: cast from pointer to integer of different size
/usr/local/include/SDL/SDL_atomic.h:289: warning: cast from pointer to integer of different size
src/imageext.c: In function ‘write_png’:
src/imageext.c:189: warning: passing argument 2 of ‘png_set_longjmp_fn’ makes qualified function pointer from unqualified
src/imageext.c: In function ‘SavePNG’:
src/imageext.c:274: error: ‘SDL_PixelFormat’ has no member named ‘alpha’
src/imageext.c:275: error: ‘SDL_PixelFormat’ has no member named ‘colorkey’
src/imageext.c:280: error: ‘SDL_PixelFormat’ has no member named ‘colorkey’
src/imageext.c: In function ‘write_png’:
src/imageext.c:189: warning: passing argument 2 of ‘png_set_longjmp_fn’ makes qualified function pointer from unqualified
src/imageext.c: In function ‘SavePNG’:
src/imageext.c:274: error: ‘SDL_PixelFormat’ has no member named ‘alpha’
src/imageext.c:275: error: ‘SDL_PixelFormat’ has no member named ‘colorkey’
src/imageext.c:280: error: ‘SDL_PixelFormat’ has no member named ‘colorkey’
lipo: can't open input file: /var/tmp//ccD0YJS5.out (No such file or directory)
error: command 'llvm-gcc-4.2' failed with exit status 1
 
I've tried commenting out all the optional stuff in `Setup.in` and re-running `sudo python setup.py install` but then I (eventually) get:
 
building 'pygame.cdrom' extension
llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -Ddarwin -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/local/include/SDL -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/cdrom.c -o build/temp.macosx-10.7-intel-2.7/src/cdrom.o
In file included from /usr/local/include/SDL/SDL.h:75,
from src/pygame.h:128,
from src/cdrom.c:24:
/usr/local/include/SDL/SDL_atomic.h: In function ‘SDL_AtomicSetPtr’:
/usr/local/include/SDL/SDL_atomic.h:289: warning: cast from pointer to integer of different size
/usr/local/include/SDL/SDL_atomic.h:289: warning: cast from pointer to integer of different size
src/cdrom.c: At top level:
src/cdrom.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/cdrom.c: In function ‘cdrom_autoquit’:
src/cdrom.c:39: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:39: error: (Each undeclared identifier is reported only once
src/cdrom.c:39: error: for each function it appears in.)
src/cdrom.c:40: warning: implicit declaration of function ‘SDL_CDClose’
src/cdrom.c:45: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘cdrom_autoinit’:
src/cdrom.c:53: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘get_init’:
src/cdrom.c:87: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘CD’:
src/cdrom.c:104: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘get_count’:
src/cdrom.c:111: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:112: warning: implicit declaration of function ‘SDL_CDNumDrives’
src/cdrom.c: In function ‘cd_init’:
src/cdrom.c:120: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:121: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:122: warning: implicit declaration of function ‘SDL_CDOpen’
src/cdrom.c: In function ‘cd_quit’:
src/cdrom.c:135: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:137: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_init’:
src/cdrom.c:148: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_play’:
src/cdrom.c:155: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:155: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:155: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:170: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:174: warning: implicit declaration of function ‘SDL_CDStatus’
src/cdrom.c:178: error: ‘SDL_AUDIO_TRACK’ undeclared (first use in this function)
src/cdrom.c:190: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c:206: warning: implicit declaration of function ‘SDL_CDPlayTracks’
src/cdrom.c: In function ‘cd_pause’:
src/cdrom.c:218: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:218: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:218: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:221: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:226: warning: implicit declaration of function ‘SDL_CDPause’
src/cdrom.c: In function ‘cd_resume’:
src/cdrom.c:237: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:237: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:237: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:240: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:245: warning: implicit declaration of function ‘SDL_CDResume’
src/cdrom.c: In function ‘cd_stop’:
src/cdrom.c:256: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:256: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:256: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:259: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:264: warning: implicit declaration of function ‘SDL_CDStop’
src/cdrom.c: In function ‘cd_eject’:
src/cdrom.c:275: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:275: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:275: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:278: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:283: warning: implicit declaration of function ‘SDL_CDEject’
src/cdrom.c: In function ‘cd_get_empty’:
src/cdrom.c:295: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:295: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:295: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:298: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:304: error: ‘CD_TRAYEMPTY’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_busy’:
src/cdrom.c:311: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:311: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:311: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:314: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:320: error: ‘CD_PLAYING’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_paused’:
src/cdrom.c:327: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:327: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:327: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:330: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:336: error: ‘CD_PAUSED’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_current’:
src/cdrom.c:344: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:344: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:344: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:348: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:355: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_numtracks’:
src/cdrom.c:364: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:364: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:364: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:366: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_name’:
src/cdrom.c:386: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:387: warning: implicit declaration of function ‘SDL_CDName’
src/cdrom.c:387: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
src/cdrom.c: In function ‘cd_get_track_audio’:
src/cdrom.c:394: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:394: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:394: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:401: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:410: error: ‘SDL_AUDIO_TRACK’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_track_length’:
src/cdrom.c:417: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:417: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:417: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:424: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:432: error: ‘SDL_AUDIO_TRACK’ undeclared (first use in this function)
src/cdrom.c:436: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_track_start’:
src/cdrom.c:443: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:443: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:443: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:450: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:459: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_all’:
src/cdrom.c:466: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:466: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:466: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:470: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:481: error: ‘SDL_AUDIO_TRACK’ undeclared (first use in this function)
src/cdrom.c:482: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/cdrom.c: In function ‘cdrom_autoquit’:
src/cdrom.c:39: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:39: error: (Each undeclared identifier is reported only once
src/cdrom.c:39: error: for each function it appears in.)
src/cdrom.c:40: warning: implicit declaration of function ‘SDL_CDClose’
src/cdrom.c:45: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘cdrom_autoinit’:
src/cdrom.c:53: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘get_init’:
src/cdrom.c:87: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘CD’:
src/cdrom.c:104: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘get_count’:
src/cdrom.c:111: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:112: warning: implicit declaration of function ‘SDL_CDNumDrives’
src/cdrom.c: In function ‘cd_init’:
src/cdrom.c:120: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:121: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:122: warning: implicit declaration of function ‘SDL_CDOpen’
src/cdrom.c: In function ‘cd_quit’:
src/cdrom.c:135: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:137: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_init’:
src/cdrom.c:148: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_play’:
src/cdrom.c:155: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:155: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:155: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:170: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:174: warning: implicit declaration of function ‘SDL_CDStatus’
src/cdrom.c:178: error: ‘SDL_AUDIO_TRACK’ undeclared (first use in this function)
src/cdrom.c:190: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c:206: warning: implicit declaration of function ‘SDL_CDPlayTracks’
src/cdrom.c: In function ‘cd_pause’:
src/cdrom.c:218: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:218: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:218: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:221: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:226: warning: implicit declaration of function ‘SDL_CDPause’
src/cdrom.c: In function ‘cd_resume’:
src/cdrom.c:237: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:237: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:237: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:240: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:245: warning: implicit declaration of function ‘SDL_CDResume’
src/cdrom.c: In function ‘cd_stop’:
src/cdrom.c:256: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:256: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:256: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:259: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:264: warning: implicit declaration of function ‘SDL_CDStop’
src/cdrom.c: In function ‘cd_eject’:
src/cdrom.c:275: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:275: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:275: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:278: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:283: warning: implicit declaration of function ‘SDL_CDEject’
src/cdrom.c: In function ‘cd_get_empty’:
src/cdrom.c:295: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:295: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:295: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:298: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:304: error: ‘CD_TRAYEMPTY’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_busy’:
src/cdrom.c:311: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:311: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:311: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:314: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:320: error: ‘CD_PLAYING’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_paused’:
src/cdrom.c:327: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:327: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:327: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:330: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:336: error: ‘CD_PAUSED’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_current’:
src/cdrom.c:344: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:344: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:344: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:348: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:355: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_numtracks’:
src/cdrom.c:364: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:364: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:364: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:366: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_name’:
src/cdrom.c:386: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:387: warning: implicit declaration of function ‘SDL_CDName’
src/cdrom.c:387: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
src/cdrom.c: In function ‘cd_get_track_audio’:
src/cdrom.c:394: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:394: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:394: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:401: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:410: error: ‘SDL_AUDIO_TRACK’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_track_length’:
src/cdrom.c:417: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:417: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:417: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:424: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:432: error: ‘SDL_AUDIO_TRACK’ undeclared (first use in this function)
src/cdrom.c:436: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_track_start’:
src/cdrom.c:443: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:443: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:443: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:450: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:459: error: ‘CD_FPS’ undeclared (first use in this function)
src/cdrom.c: In function ‘cd_get_all’:
src/cdrom.c:466: error: ‘SDL_CD’ undeclared (first use in this function)
src/cdrom.c:466: error: ‘cdrom’ undeclared (first use in this function)
src/cdrom.c:466: error: ‘cdrom_drivedata’ undeclared (first use in this function)
src/cdrom.c:470: error: ‘SDL_INIT_CDROM’ undeclared (first use in this function)
src/cdrom.c:481: error: ‘SDL_AUDIO_TRACK’ undeclared (first use in this function)
src/cdrom.c:482: error: ‘CD_FPS’ undeclared (first use in this function)
lipo: can't open input file: /var/tmp//ccG5LLVT.out (No such file or directory)
error: command 'llvm-gcc-4.2' failed with exit status 1

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.