conejo@madriguera ~/devkitpro/cosas/jlnr-gosu-6ffa49f/linux $ make
if [ \! -d ../bin ]; then mkdir ../bin; fi
if [ \! -d ../lib ]; then mkdir ../lib; fi
if [ \! -d Graphics ]; then mkdir Graphics; fi
if [ \! -d Sockets ]; then mkdir Sockets; fi
if [ \! -d Audio ]; then mkdir Audio; fi
g++ /home/conejo/devkitpro/cosas/jlnr-gosu-6ffa49f/linux/../examples/Tutorial.cpp -o /home/conejo/devkitpro/cosas/jlnr-gosu-6ffa49f/linux/../examples/Tutorial -fPIC -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -pthread -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_SYS_STAT_H -DNDEBUG -O3 -pipe -fomit-frame-pointer -I/usr/include/SDL -L -lX11 -pthread -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -L/usr/lib -lSDL -lSDL_mixer -lpng -lstdc++ -lGL -lSDL_ttf -lfreeimage ../lib/libgosu.a
In file included from ../Gosu/Gosu.hpp:13:0,
from /home/conejo/devkitpro/cosas/jlnr-gosu-6ffa49f/linux/../examples/Tutorial.cpp:1:
../Gosu/Fwd.hpp:10:11: warning: attribute ignored in declaration of ‘struct Gosu::Audio’
../Gosu/Fwd.hpp:10:11: warning: attribute for ‘struct Gosu::Audio’ must follow the ‘struct’ keyword
/home/conejo/devkitpro/cosas/jlnr-gosu-6ffa49f/linux/../examples/Tutorial.cpp: In constructor ‘Player::Player(Gosu::Graphics&, Gosu::Audio&)’:
/home/conejo/devkitpro/cosas/jlnr-gosu-6ffa49f/linux/../examples/Tutorial.cpp:75:52: warning: ‘Gosu::Sample::Sample(Gosu::Audio&, const std::wstring&)’ is deprecated (declared at ../Gosu/Audio.hpp:100)
/usr/bin/ld: ../lib/libgosu.a(WindowX.o): undefined reference to symbol 'XAllocSizeHints'
/usr/bin/ld: note: 'XAllocSizeHints' is defined in DSO //usr/lib/libX11.so.6 so try adding it to the linker command line
//usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [/home/conejo/devkitpro/cosas/jlnr-gosu-6ffa49f/linux/../examples/Tutorial] Error 1
conejo@madriguera ~/devkitpro/omegote/linux/Parte 1 $ make
Compiling... main.cpp
Linking binary...
/usr/bin/ld: /usr/local/lib/libgosu.a(WindowX.o): undefined reference to symbol 'XAllocSizeHints'
/usr/bin/ld: note: 'XAllocSizeHints' is defined in DSO //usr/lib/libX11.so.6 so try adding it to the linker command line
//usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [programa] Error 1
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill