reduz / chibitracker

Automatically exported from code.google.com/p/chibitracker
GNU General Public License v2.0
56 stars 5 forks source link

xubuntu 14.04 64-bit compilation problem #1

Open freemanfromgodotengine opened 9 years ago

freemanfromgodotengine commented 9 years ago
scons: Reading SConscript files ...
1.2.15
libSDL Detected
1.0.27.2
ALSA not detected.

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/dark/Software/chibitracker-master/SConstruct", line 85, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o drivers/file_access.o -c -g3 -Wall -DANSIC_LIBS_ENABLED -DPOSIX_ENABLED -DSDL_ENABLED -fno-exceptions -D_GNU_SOURCE=1 -D_REENTRANT -Iglobals -Igui -I. -I/usr/include/SDL drivers/file_access.cpp
g++ -o drivers/mempool_malloc.o -c -g3 -Wall -DANSIC_LIBS_ENABLED -DPOSIX_ENABLED -DSDL_ENABLED -fno-exceptions -D_GNU_SOURCE=1 -D_REENTRANT -Iglobals -Igui -I. -I/usr/include/SDL drivers/mempool_malloc.cpp
g++ -o drivers/sound_driver_sdl.o -c -g3 -Wall -DANSIC_LIBS_ENABLED -DPOSIX_ENABLED -DSDL_ENABLED -fno-exceptions -D_GNU_SOURCE=1 -D_REENTRANT -Iglobals -Igui -I. -I/usr/include/SDL drivers/sound_driver_sdl.cpp
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from drivers/sound_driver_sdl.h:18,
                 from drivers/sound_driver_sdl.cpp:15:
/usr/include/SDL/SDL_stdinc.h:106:18: error: conflicting declaration ‘typedef int64_t Sint64’
 typedef int64_t  Sint64;
                  ^
In file included from ./mixer/sound_driver.h:15:0,
                 from drivers/sound_driver_sdl.h:17,
                 from drivers/sound_driver_sdl.cpp:15:
./globals/config.h:81:26: error: ‘Sint64’ has a previous declaration as ‘typedef long long int Sint64’
 typedef signed long long Sint64;
                          ^
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from drivers/sound_driver_sdl.h:18,
                 from drivers/sound_driver_sdl.cpp:15:
/usr/include/SDL/SDL_stdinc.h:108:18: error: conflicting declaration ‘typedef uint64_t Uint64’
 typedef uint64_t Uint64;
                  ^
In file included from ./mixer/sound_driver.h:15:0,
                 from drivers/sound_driver_sdl.h:17,
                 from drivers/sound_driver_sdl.cpp:15:
./globals/config.h:82:28: error: ‘Uint64’ has a previous declaration as ‘typedef long long unsigned int Uint64’
 typedef unsigned long long Uint64;
                            ^
drivers/sound_driver_sdl.cpp: In member function ‘void SoundDriverSDL::process(Uint8*, int)’:
drivers/sound_driver_sdl.cpp:89:55: warning: operation on ‘mixdown’ may be undefined [-Wsequence-point]
      *data++ = (*(mixdown++)>>17) + (*(mixdown++)>>17);;
                                                       ^
drivers/sound_driver_sdl.cpp:127:53: warning: operation on ‘mixdown’ may be undefined [-Wsequence-point]
      *data++ = (*(mixdown++)>>9) + (*(mixdown++)>>9);
                                                     ^
scons: *** [drivers/sound_driver_sdl.o] Error 1
scons: building terminated because of errors.
alexmyczko commented 5 years ago

http://sid.ethz.ch/debian/chibitracker/

meanwhile you can also easily install fasttracker2 clone, protracker, hivelytracker, schismtracker, milkytracker, goattracker, cheesecutter.