quake.de Foren-Übersicht quake.de
Forum
 
 FAQFAQ   SuchenSuchen   MitgliederlisteMitgliederliste   BenutzergruppenBenutzergruppen   RegistrierenRegistrieren 
 ProfilProfil   Einloggen, um private Nachrichten zu lesenEinloggen, um private Nachrichten zu lesen   LoginLogin 

Yamagi Quake II braucht Tester!
Gehe zu Seite 1, 2  Weiter
 
Neues Thema eröffnen   Neue Antwort erstellen    quake.de Foren-Übersicht -> Linux
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Mo Jan 11, 2010 13:45:27    Titel: Yamagi Quake II braucht Tester! Antworten mit Zitat

Yamagi Quake II, ein Quake2 Port für Unix-artige Systeme, hat gestern Version 2.10RC erreicht.
Der Port konzentriert sich auf Single Player und Coop und ist wohl der ausgereiftetste Linux/Unix Port für diesen Zweck (AMD64-Unterstützung, Addons funktionieren, frei wählbare Auflösung, Musik kann aus OGG/Vorbis Dateien abgespielt werden, ...).

Bitte testet Version 2.10RC, Yamagi wartet auf Feedback um bald 2.10 stable veröffentlichen zu können Smile

Ich werd wohl die nächsten Tage neue *.deb Pakete für Debian, Ubuntu, ... hochladen - aber der Source lässt sich auch schmerzfrei selbst compilen (wenige Abhängigkeiten).
Weitere Infos sind auf der Website und in der beiliegenden README zu finden.

Download: http://www.yamagi.org/quake2/

Feedback (insb. Bugreports) entweder per E-Mail an yamagi (quake2 #BEI# yamagi.org) oder hier in den Thread, ich leite das dann weiter Smile
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Mi Feb 03, 2010 21:11:21    Titel: Antworten mit Zitat

Ich hab gerade versucht das unter Mac OS X zu kompilieren (hier gibts nämlich garkeinen akzeptablen client).
Ich kenne mich nicht so gut aus, aber er schien eine Datei nicht zu finden. Müssen irgendwelche Dependencies vorher installiert werden?

Code:

make release/quake2   
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_cin.o -c src/client/cl_cin.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_ents.o -c src/client/cl_ents.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_fx.o -c src/client/cl_fx.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_input.o -c src/client/cl_input.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_inv.o -c src/client/cl_inv.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_main.o -c src/client/cl_main.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_parse.o -c src/client/cl_parse.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_pred.o -c src/client/cl_pred.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_tent.o -c src/client/cl_tent.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_scrn.o -c src/client/cl_scrn.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_view.o -c src/client/cl_view.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/cl_newfx.o -c src/client/cl_newfx.c 
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/console/console.o -c src/client/console/console.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/input/keys.o -c src/client/input/keys.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/menu/menu.o -c src/client/menu/menu.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/menu/qmenu.o -c src/client/menu/qmenu.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/sound/snd_dma.o -c src/client/sound/snd_dma.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/sound/snd_mem.o -c src/client/sound/snd_mem.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -o build/client/sound/snd_mix.o -c src/client/sound/snd_mix.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector -Wall -pipe -g -I/usr/include -I/usr/local/include -o build/client/sound/snd_ogg.o -c src/client/sound/snd_ogg.c
src/client/sound/snd_ogg.c:28:31: error: vorbis/vorbisfile.h: No such file or directory
src/client/sound/snd_ogg.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ovFile’
src/client/sound/snd_ogg.c: In function ‘OGG_Check’:
src/client/sound/snd_ogg.c:185: error: ‘OggVorbis_File’ undeclared (first use in this function)
src/client/sound/snd_ogg.c:185: error: (Each undeclared identifier is reported only once
src/client/sound/snd_ogg.c:185: error: for each function it appears in.)
src/client/sound/snd_ogg.c:185: error: expected ‘;’ before ‘ovf’
src/client/sound/snd_ogg.c:192: warning: implicit declaration of function ‘ov_test’
src/client/sound/snd_ogg.c:192: error: ‘ovf’ undeclared (first use in this function)
src/client/sound/snd_ogg.c:194: warning: implicit declaration of function ‘ov_clear’
src/client/sound/snd_ogg.c: In function ‘OGG_Seek’:
src/client/sound/snd_ogg.c:215: warning: implicit declaration of function ‘ov_seekable’
src/client/sound/snd_ogg.c:215: error: ‘ovFile’ undeclared (first use in this function)
src/client/sound/snd_ogg.c:221: warning: implicit declaration of function ‘ov_time_tell’
src/client/sound/snd_ogg.c:222: warning: implicit declaration of function ‘ov_time_total’
src/client/sound/snd_ogg.c:227: warning: implicit declaration of function ‘ov_time_seek’
src/client/sound/snd_ogg.c: In function ‘OGG_Open’:
src/client/sound/snd_ogg.c:384: warning: implicit declaration of function ‘ov_open’
src/client/sound/snd_ogg.c:384: error: ‘ovFile’ undeclared (first use in this function)
src/client/sound/snd_ogg.c: In function ‘OGG_Read’:
src/client/sound/snd_ogg.c:436: warning: implicit declaration of function ‘ov_read’
src/client/sound/snd_ogg.c:436: error: ‘ovFile’ undeclared (first use in this function)
src/client/sound/snd_ogg.c: In function ‘OGG_Stop’:
src/client/sound/snd_ogg.c:485: error: ‘ovFile’ undeclared (first use in this function)
src/client/sound/snd_ogg.c: In function ‘OGG_StatusCmd’:
src/client/sound/snd_ogg.c:759: error: ‘ovFile’ undeclared (first use in this function)
make[1]: *** [build/client/sound/snd_ogg.o] Error 1
make: *** [client] Error 2

Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
TTK-Bandit
Quaker


Anmeldungsdatum: 16.04.2003
Beiträge: 1780

BeitragVerfasst am: Mi Feb 03, 2010 22:37:18    Titel: Antworten mit Zitat

du brauchst libogg und libvorbis vorher noch.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Mi Feb 03, 2010 22:40:56    Titel: Antworten mit Zitat

ja, es gibt einige dependencies, siehe README, abschnitt 1.3 Wink

Zitat:
- X11 Windows System with development headers
- OpenGL system headers (Mesa3D, nVidia, fglrx, etc.)
- libvorbis with development headers
- libogg with development headers
- ZLib
- SDL with development headers and sdl-config(1)


wobei das mit X11 nicht ganz stimmt - darauf wird per SDL zugegriffen, im src selber werden (wenn ich nichts übersehen habe) keine X11-spezifischen header eingebunden. d.h. wenn SDL unter OSX keinen X-server braucht, brauchst du (wahrscheinlich) für yamagiq2 auch keinen

deiner fehlermeldung nach fehlt dir (mindestens) libvorbis + dev. headers

falls du's zum laufen kriegst gib mal bescheid, osx ist bisher eine ungetestete plattform Smile
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Do Feb 04, 2010 21:37:32    Titel: Antworten mit Zitat

Ok, ich hab OGG und Vorbis doch, nur make findet sie irgendwie nicht. Liegt bei mir in /opt/local/include/vorbis/ bzw /opt/local/include/ogg/

Gibts da ne einfache Möglichkeit make mitzuteilen, dass er da suchen soll? z.B. über Path? Weil ich hab jetzt keine Lust den Pfad in den ganzen code files zu editieren. Wink
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Fr Feb 05, 2010 11:07:10    Titel: Antworten mit Zitat

dazu musst du die Makefile editieren, und zwar an der Stelle

Code:
OGGCFLAGS = -I/usr/include -I/usr/local/include


einfach hinter -I/usr/local/include noch -I/opt/local/include schreiben (in ogg/ und vorbis/ guckt er dann von alleine, die dateien sind also ogg/foo.h bzw vorbis/bar.h eingebunden)
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Fr Feb 05, 2010 16:27:44    Titel: Antworten mit Zitat

caedes hat folgendes geschrieben:
dazu musst du die Makefile editieren, und zwar an der Stelle

Code:
OGGCFLAGS = -I/usr/include -I/usr/local/include


einfach hinter -I/usr/local/include noch -I/opt/local/include schreiben (in ogg/ und vorbis/ guckt er dann von alleine, die dateien sind also ogg/foo.h bzw vorbis/bar.h eingebunden)


Ok das hats gebracht. Jetzt hängt er dafür an ner anderen Stelle:
Code:
src/common/common.c: In function ‘Qcommon_Init’:
src/common/common.c:1431: error: ‘BUILDSTRING’ undeclared (first use in this function)
src/common/common.c:1431: error: (Each undeclared identifier is reported only once
src/common/common.c:1431: error: for each function it appears in.)
make[1]: *** [build/common/common.o] Error 1
make: *** [client] Error 2
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Fr Feb 05, 2010 17:30:38    Titel: Antworten mit Zitat

yamagi q2 sieht halt osx nicht vor.. aber diesen fehler zu fixen ist ziemlich einfach:
man sucht nach BUILDSTRING und sieht, dass es in qcommon.h, in den zeilen 34-40 definiert wird:
Code:
#if defined __linux__
#define BUILDSTRING "Linux"
#elif defined __FreeBSD__
#define BUILDSTRING "FreeBSD"
#endif

hier fehlt ein fall für osx. also ergänzen wirs entsprechend:
Code:

#if defined __linux__
#define BUILDSTRING "Linux"
#elif defined __FreeBSD__
#define BUILDSTRING "FreeBSD"
#elif defined __APPLE__
#define BUILDSTRING "MacOS"
#else
#define BUILDSTRING "Unknown"
#endif

bin mir nicht sicher, ob __APPLE__ passt, deshalb hab ich noch vorsichtshalber "Unknown" für alle anderen fälle dazugepackt.
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 06, 2010 16:08:43    Titel: Antworten mit Zitat

Er will immer noch nicht ganz.

Code:

src/posix/posix.c: In function ‘Hunk_Begin’:
src/posix/posix.c:61: error: ‘MAP_ANONYMOUS’ undeclared (first use in this function)
src/posix/posix.c:61: error: (Each undeclared identifier is reported only once
src/posix/posix.c:61: error: for each function it appears in.)
make[1]: *** [build/posix/posix.o] Error 1
make: *** [client] Error 2


Gibts da nen Unix Befehl mit dem ich die ganzen Dateien nach ”MAP_ANONYMOUS" durchsuchen kann?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Spirit
Quaker


Anmeldungsdatum: 16.10.2002
Beiträge: 3260

BeitragVerfasst am: Sa Feb 06, 2010 16:15:21    Titel: Antworten mit Zitat

Klar:
grep -R MAP_ANONYMOUS *
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Sa Feb 06, 2010 16:43:58    Titel: Antworten mit Zitat

sehr hilfreich ist bei sowas cscope (kA, ob das bei OSX dabeiliegt oder schmerzfrei installierbar ist):
da kann man (idealerweise in src/) einmal cscope -R aufrufen und darin dann sachen suchen (generell nen string, definitionen, ...) und direkt in nem editor öffnen.
beenden kann man cscope übrigens mit ctrl-d (zumindest auf normalen tastaturen unter "normalen" unixen)

dann kommt man in diesem fall zu dem ergebnis, dass MAP_ANONYMOUS in sys/mman.h definiert ist - zumindest unter linux.
du könntest mal in /usr/include/ und evtl noch /usr/local/include/ nach MAP_ANONYMOUS greppen (wie von spirit beschrieben) und gucken, in welcher datei es definiert ist und die ggf includen
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 27, 2010 10:39:10    Titel: Antworten mit Zitat

Hallo caedes,

habe mich nun endlich nochmal damit beschäftigt. cscope gibt es auch für den Mac. Ich hatte es mal installiert, aber eine suche nach der globalen definition von MAP_ANONYMOUS blieb erfolglos. Ich habe ehrlich gesagt aber auch keine Ahnung wie man cscope bedient, intuitiv finde ich es nicht gerade.
Danach habe ich mir dann mal GCC 4.4 installiert. Jetzt geht cscope nichtmehr, es sagt es findet keine source files. Keine Ahnung, ist aber auch erstmal egal. Ich habe dann einfach mal nach der Datei mman.h gesucht, und siehe da, ich habe sogar 8 Stück davon! Very Happy
Eine liegt, wie du schon vermutet hast in /usr/include/sys! Interessant an dieser Stelle: grep findet die nicht. Ich habe mal reingeguckt und nirgendwo findet sich die deklaration von MAP_ANONYMOUS. Dafür gibt es
Code:
#define   MAP_ANON   0x1000   /* allocated from memory, swap space */

Kannst du mir einfach mal die define Zeile von MAP_ANONYMOUS hier reinkopieren? Vielleicht geht das ja? Komisch dass das bei mir fehlt.

[Edit] Habe gerade einfach mal gegoogelt und siehe da, gleich der erste Treffer:
Issue 1: MAP_ANONYMOUS is MAP_ANON on Mac OS X (and probably other BSDs too)
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 27, 2010 10:55:27    Titel: Antworten mit Zitat

Ok nachdem ich das mit MAP_ANONYMOUS gefixt habe ein neues Problem:
Mit dieser Zeile in q_shared.h hat der Compiler ein Problem:
Code:
typedef enum {false, true}   qboolean;


Hier die Meldung
Code:
In file included from src/posix/../common/qcommon.h:23,
                 from src/posix/system.c:40:
src/posix/../common/../game/baseq2/q_shared.h:32: error: expected identifier before numeric constant


Da bräucht' ich wirklich nochmal Hilfe wie man den fixt.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 27, 2010 11:05:29    Titel: Antworten mit Zitat

Sogar für diesen Fehler hab' ich selber 'nen Patch gefunden. Einfach von nem vorhandenen Mac Q2 Port abgeguckt. Vor besagte Zeile muss das hier rein
Code:
#if defined (__APPLE__) || defined (MACOSX)
#undef true
#undef false
#endif /* __APPLE__ ||ÊMACOSX */


Und oh wunder - es scheint jetzt sogar fast ohne Fehlermeldungen durchgelaufen zu sein:
Code:
make release/quake2   
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -o build/posix/system.o -c src/posix/system.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -o build/posix/glob/glob.o -c src/posix/glob/glob.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -o build/posix/vid/menu.o -c src/posix/vid/menu.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -o build/posix/vid/refresh.o -c src/posix/vid/refresh.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -o build/sdl/cd.o -c src/sdl/cd.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -o build/sdl/sound.o -c src/sdl/sound.c 
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -o release/quake2 build/client/cl_cin.o build/client/cl_ents.o build/client/cl_fx.o build/client/cl_input.o build/client/cl_inv.o build/client/cl_main.o build/client/cl_parse.o build/client/cl_pred.o build/client/cl_tent.o build/client/cl_scrn.o build/client/cl_view.o build/client/cl_newfx.o build/client/console/console.o build/client/input/keys.o build/client/menu/menu.o build/client/menu/qmenu.o build/client/sound/snd_dma.o build/client/sound/snd_mem.o build/client/sound/snd_mix.o build/client/sound/snd_ogg.o build/common/cmd.o build/common/cmodel.o build/common/common.o build/common/crc.o build/common/cvar.o build/common/files.o build/common/md4.o build/common/net_chan.o build/common/pmove.o  build/gameabi/m_flash.o build/gameabi/q_shared.o \
      build/server/sv_ccmds.o build/server/sv_ents.o build/server/sv_game.o build/server/sv_init.o build/server/sv_main.o build/server/sv_send.o build/server/sv_user.o build/server/sv_world.o build/posix/network.o build/posix/posix.o build/posix/system.o build/posix/glob/glob.o build/posix/vid/menu.o build/posix/vid/refresh.o build/sdl/cd.o build/sdl/sound.o build/unzip/ioapi.o build/unzip/unzip.o  \
      -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lvorbis -lvorbisfile -logg -lz
make release/q2ded
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server/sv_ccmds.o -c src/server/sv_ccmds.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server/sv_ents.o -c src/server/sv_ents.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server/sv_game.o -c src/server/sv_game.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server/sv_init.o -c src/server/sv_init.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server/sv_main.o -c src/server/sv_main.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server/sv_send.o -c src/server/sv_send.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server/sv_user.o -c src/server/sv_user.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server/sv_world.o -c src/server/sv_world.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/cmd.o -c src/common/cmd.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/cmodel.o -c src/common/cmodel.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/common.o -c src/common/common.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/crc.o -c src/common/crc.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/cvar.o -c src/common/cvar.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/files.o -c src/common/files.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/md4.o -c src/common/md4.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/net_chan.o -c src/common/net_chan.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_common/pmove.o -c src/common/pmove.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_posix/glob/glob.o -c src/posix/glob/glob.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_posix/network.o -c src/posix/network.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_posix/posix.o -c src/posix/posix.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o build/dedicated_server_posix/system.o -c src/posix/system.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -DDEDICATED_ONLY -o release/q2ded build/dedicated_server/sv_ccmds.o build/dedicated_server/sv_ents.o build/dedicated_server/sv_game.o build/dedicated_server/sv_init.o build/dedicated_server/sv_main.o build/dedicated_server/sv_send.o build/dedicated_server/sv_user.o build/dedicated_server/sv_world.o \
      build/dedicated_server_common/cmd.o build/dedicated_server_common/cmodel.o build/dedicated_server_common/common.o build/dedicated_server_common/crc.o build/dedicated_server_common/cvar.o build/dedicated_server_common/files.o build/dedicated_server_common/md4.o build/dedicated_server_common/net_chan.o build/dedicated_server_common/pmove.o  build/gameabi/m_flash.o build/gameabi/q_shared.o build/unzip/ioapi.o build/unzip/unzip.o\
      build/dedicated_server_posix/glob/glob.o build/dedicated_server_posix/network.o build/dedicated_server_posix/posix.o build/dedicated_server_posix/system.o  -lz
make release/ref_gl.so
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_draw.o -c src/refresh/gl_draw.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_image.o -c src/refresh/gl_image.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_light.o -c src/refresh/gl_light.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_mesh.o -c src/refresh/gl_mesh.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_model.o -c src/refresh/gl_model.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_rmain.o -c src/refresh/gl_rmain.c
src/refresh/gl_rmain.c: In function ‘R_Init’:
src/refresh/gl_rmain.c:1178: warning: implicit declaration of function ‘qwglGetProcAddress’
src/refresh/gl_rmain.c:1178: warning: cast to pointer from integer of different size
src/refresh/gl_rmain.c:1179: warning: cast to pointer from integer of different size
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_rmisc.o -c src/refresh/gl_rmisc.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_rsurf.o -c src/refresh/gl_rsurf.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl/gl_warp.o -c src/refresh/gl_warp.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl_posix/abi.o -c src/posix/refresh/abi.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl_posix/glob.o -c src/posix/glob/glob.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl_posix/posix.o -c src/posix/posix.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl_posix/qgl.o -c src/posix/refresh/qgl.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -o build/ref_gl_posix/refresh.o -c src/sdl/refresh.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o build/ref_gl_game/q_shared.o -c src/game/baseq2/q_shared.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -I/usr/include -I/usr/local/include -I/usr/X11R6/include -fPIC -o release/ref_gl.so build/ref_gl/gl_draw.o build/ref_gl/gl_image.o build/ref_gl/gl_light.o build/ref_gl/gl_mesh.o build/ref_gl/gl_model.o build/ref_gl/gl_rmain.o build/ref_gl/gl_rmisc.o build/ref_gl/gl_rsurf.o build/ref_gl/gl_warp.o         build/ref_gl_posix/abi.o build/ref_gl_posix/glob.o build/ref_gl_posix/posix.o build/ref_gl_posix/qgl.o build/ref_gl_posix/refresh.o \
      build/ref_gl_game/q_shared.o  -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -shared
make release/baseq2/game.so
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_ai.o -c src/game/baseq2/g_ai.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_chase.o -c src/game/baseq2/g_chase.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_cmds.o -c src/game/baseq2/g_cmds.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_combat.o -c src/game/baseq2/g_combat.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_func.o -c src/game/baseq2/g_func.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_items.o -c src/game/baseq2/g_items.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_main.o -c src/game/baseq2/g_main.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_misc.o -c src/game/baseq2/g_misc.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_monster.o -c src/game/baseq2/g_monster.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_phys.o -c src/game/baseq2/g_phys.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_save.o -c src/game/baseq2/g_save.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_spawn.o -c src/game/baseq2/g_spawn.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_svcmds.o -c src/game/baseq2/g_svcmds.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_target.o -c src/game/baseq2/g_target.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_trigger.o -c src/game/baseq2/g_trigger.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_turret.o -c src/game/baseq2/g_turret.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_utils.o -c src/game/baseq2/g_utils.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/g_weapon.o -c src/game/baseq2/g_weapon.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_actor.o -c src/game/baseq2/m_actor.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_berserk.o -c src/game/baseq2/m_berserk.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_boss2.o -c src/game/baseq2/m_boss2.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_boss3.o -c src/game/baseq2/m_boss3.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_boss31.o -c src/game/baseq2/m_boss31.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_boss32.o -c src/game/baseq2/m_boss32.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_brain.o -c src/game/baseq2/m_brain.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_chick.o -c src/game/baseq2/m_chick.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_flash.o -c src/game/baseq2/m_flash.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_flipper.o -c src/game/baseq2/m_flipper.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_float.o -c src/game/baseq2/m_float.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_flyer.o -c src/game/baseq2/m_flyer.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_gladiator.o -c src/game/baseq2/m_gladiator.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_gunner.o -c src/game/baseq2/m_gunner.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_hover.o -c src/game/baseq2/m_hover.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_infantry.o -c src/game/baseq2/m_infantry.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_insane.o -c src/game/baseq2/m_insane.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_medic.o -c src/game/baseq2/m_medic.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_move.o -c src/game/baseq2/m_move.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_mutant.o -c src/game/baseq2/m_mutant.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_parasite.o -c src/game/baseq2/m_parasite.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_soldier.o -c src/game/baseq2/m_soldier.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_supertank.o -c src/game/baseq2/m_supertank.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/m_tank.o -c src/game/baseq2/m_tank.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/p_client.o -c src/game/baseq2/p_client.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/p_hud.o -c src/game/baseq2/p_hud.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/p_trail.o -c src/game/baseq2/p_trail.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/p_view.o -c src/game/baseq2/p_view.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/p_weapon.o -c src/game/baseq2/p_weapon.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/baseq2/q_shared.o -c src/game/baseq2/q_shared.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o release/baseq2/game.so build/baseq2/g_ai.o build/baseq2/g_chase.o build/baseq2/g_cmds.o build/baseq2/g_combat.o build/baseq2/g_func.o build/baseq2/g_items.o build/baseq2/g_main.o build/baseq2/g_misc.o build/baseq2/g_monster.o build/baseq2/g_phys.o build/baseq2/g_save.o build/baseq2/g_spawn.o build/baseq2/g_svcmds.o build/baseq2/g_target.o build/baseq2/g_trigger.o build/baseq2/g_turret.o build/baseq2/g_utils.o build/baseq2/g_weapon.o build/baseq2/m_actor.o build/baseq2/m_berserk.o build/baseq2/m_boss2.o build/baseq2/m_boss3.o build/baseq2/m_boss31.o build/baseq2/m_boss32.o build/baseq2/m_brain.o build/baseq2/m_chick.o build/baseq2/m_flash.o build/baseq2/m_flipper.o build/baseq2/m_float.o build/baseq2/m_flyer.o build/baseq2/m_gladiator.o build/baseq2/m_gunner.o build/baseq2/m_hover.o build/baseq2/m_infantry.o build/baseq2/m_insane.o build/baseq2/m_medic.o build/baseq2/m_move.o build/baseq2/m_mutant.o build/baseq2/m_parasite.o build/baseq2/m_soldier.o build/baseq2/m_supertank.o build/baseq2/m_tank.o build/baseq2/p_client.o build/baseq2/p_hud.o build/baseq2/p_trail.o build/baseq2/p_view.o build/baseq2/p_weapon.o build/baseq2/q_shared.o   -shared
make release/ctf/game.so
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_ai.o -c src/game/ctf/g_ai.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_chase.o -c src/game/ctf/g_chase.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_cmds.o -c src/game/ctf/g_cmds.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_combat.o -c src/game/ctf/g_combat.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_ctf.o -c src/game/ctf/g_ctf.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_func.o -c src/game/ctf/g_func.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_items.o -c src/game/ctf/g_items.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_main.o -c src/game/ctf/g_main.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_misc.o -c src/game/ctf/g_misc.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_monster.o -c src/game/ctf/g_monster.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_phys.o -c src/game/ctf/g_phys.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_save.o -c src/game/ctf/g_save.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_spawn.o -c src/game/ctf/g_spawn.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_svcmds.o -c src/game/ctf/g_svcmds.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_target.o -c src/game/ctf/g_target.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_trigger.o -c src/game/ctf/g_trigger.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_utils.o -c src/game/ctf/g_utils.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/g_weapon.o -c src/game/ctf/g_weapon.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/m_move.o -c src/game/ctf/m_move.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/p_client.o -c src/game/ctf/p_client.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/p_hud.o -c src/game/ctf/p_hud.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/p_menu.o -c src/game/ctf/p_menu.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/p_trail.o -c src/game/ctf/p_trail.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/p_view.o -c src/game/ctf/p_view.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/p_weapon.o -c src/game/ctf/p_weapon.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o build/ctf/q_shared.o -c src/game/ctf/q_shared.c
gcc -O2  -fno-strict-aliasing -fomit-frame-pointer -fstack-protector-all -Wall -pipe -g -DBROKEN_MESA -fPIC -o release/ctf/game.so build/ctf/g_ai.o build/ctf/g_chase.o build/ctf/g_cmds.o build/ctf/g_combat.o build/ctf/g_ctf.o build/ctf/g_func.o build/ctf/g_items.o build/ctf/g_main.o build/ctf/g_misc.o build/ctf/g_monster.o build/ctf/g_phys.o build/ctf/g_save.o build/ctf/g_spawn.o build/ctf/g_svcmds.o build/ctf/g_target.o build/ctf/g_trigger.o build/ctf/g_utils.o build/ctf/g_weapon.o build/ctf/m_move.o build/ctf/p_client.o build/ctf/p_hud.o build/ctf/p_menu.o build/ctf/p_trail.o build/ctf/p_view.o build/ctf/p_weapon.o build/ctf/q_shared.o  -shared
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 27, 2010 11:13:06    Titel: Antworten mit Zitat

Das hier kommt wenn ich versuche es zu starten Sad
Code:
Quake 2
Added packfile './baseq2/pak0.pak' (3307 files).
Added packfile './baseq2/pak1.pak' (279 files).
Added packfile './baseq2/pak2.pak' (2 files).
Added packfile './baseq2/pak3.pak' (8 files).
Added packfile './baseq2/pak4.pak' (449 files).
using /Users/niehztog/.quake2/baseq2/ for writing
Using '/Users/niehztog/.quake2/baseq2' for writing.
execing default.cfg
execing config.cfg
"OPTION" isn't a valid key
"COMMAND" isn't a valid key
Console initialized.
------- Loading ref_gl.so -------
LoadLibrary("./ref_gl.so")
Refresh: OpenGL 1.4
dlopen(./opengl32, 1): image not found
ref_gl::R_Init() - could not load "opengl32"

------- sound initialization -------
sound sampling rate: 22050
Starting Ogg Vorbis.
Ogg Vorbis not initializing.
------------------------------------
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
execing autoexec.cfg
"COMMAND" isn't a valid key
------- Loading game.so -------
==== InitGame ====
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
-------------------------------------
====== Quake2 Initialized ======

0.0.0.0:0: client_connect
Segmentation fault
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Spirit
Quaker


Anmeldungsdatum: 16.10.2002
Beiträge: 3260

BeitragVerfasst am: Sa Feb 27, 2010 11:44:48    Titel: Antworten mit Zitat

Du brauchst Treiber mit OpenGL-Beschleunigung. Also catalyst oder nvidia.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 27, 2010 11:58:53    Titel: Antworten mit Zitat

Spirit hat folgendes geschrieben:
Du brauchst Treiber mit OpenGL-Beschleunigung. Also catalyst oder nvidia.


Ich gehe davon aus dass ich das schon habe. In meinem Mac ist eine NVIDIA GeForce 9400 und ich kann OpenGL Spiele spielen. z.B. läuft bei mir ein anderer Quake 2 Mac Port mit OpenGL Problemlos.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Sa Feb 27, 2010 13:28:58    Titel: Antworten mit Zitat

cool, du bist ja anscheinend richtig weit gekommen Voll klasse

das problem das du jetzt grade hast ist, dass er anscheinend der meinung ist, dass deine opengl-"dll" "opengl32" heißt.
unter linux heißt sie libGL.so.1, unter osx evtl "libGL.dylib"? bin da aber unsicher, vllt ist das auch was anderes.
auf jeden fall solltest du probieren, das spiel folgendermaßen zu starten:
Code:

quake2 +set gl_driver libGL.dylib

und wenn das nicht funktioniert, musst du dich mal informieren, wie die opengl lib heißt und den befehl entsprechend anpassen.

ich frage mich allerdings, wie der überhaupt auf opengl32 kommt, das ist der standard unter windows und taucht im yamagiq2 code garnicht auf
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 27, 2010 14:50:36    Titel: Antworten mit Zitat

Das hört sich ja schonmal ziemlich vielversprechend an! Smile

Also bei mir gibt es im Verzeichnis /usr/X11/lib/ u.a. folgende Dateien:
libGL.1.2.dylib
libGL.1.dylib -> libGL.1.2.dylib
libGL.dylib -> libGL.1.2.dylib
libGLU.1.3.dylib
libGLU.1.dylib -> libGLU.1.3.dylib
libGLU.dylib -> libGLU.1.3.dylib

Also der von dir vorgeschlagene Treiber scheint vorhanden zu sein. Ich hab' mal versucht in der X11 Konsole Yamagi Quake2 zu starten, aber er fand auch libGL.dylib nicht.

Code:

------- Loading ref_gl.so -------
LoadLibrary("./ref_gl.so")
Refresh: OpenGL 1.4
dlopen(./libGL.dylib, 1): image not found
ref_gl::R_Init() - could not load "libGL.dylib"


Aus der Fehlermeldung war ersichtlich, dass er nur im aktuellen Verzeichnis danach sucht. Also hab' ich im Q2 Verzeichnis mal ein Symlink darauf erzeugt und es noch mal versucht. Der Bildschirm wurde kurz schwerz aber dann kam das hier:

Code:

Quake 2
Added packfile './baseq2/pak0.pak' (3307 files).
Added packfile './baseq2/pak1.pak' (279 files).
Added packfile './baseq2/pak2.pak' (2 files).
Added packfile './baseq2/pak3.pak' (8 files).
Added packfile './baseq2/pak4.pak' (449 files).
Added packfile './baseq2/naymlis.pak' (452 files).
using /Users/niehztog/.quake2/baseq2/ for writing
Using '/Users/niehztog/.quake2/baseq2' for writing.
execing default.cfg
execing config.cfg
"OPTION" isn't a valid key
"COMMAND" isn't a valid key
Console initialized.
------- Loading ref_gl.so -------
LoadLibrary("./ref_gl.so")
Refresh: OpenGL 1.4
2010-02-27 14:58:39.082 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101911940 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.084 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a02a90 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.085 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a05320 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.086 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a0afe0 of class NSCFDictio
nary autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.087 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70460b58 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.088 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a06000 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.088 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046bd18 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.089 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a05a10 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.089 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046bdf8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.091 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a05b00 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.092 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046c3f8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.093 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a05b00 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.093 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046bdf8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.094 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046c3f8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.095 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046bdf8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.095 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046c3f8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.096 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046bdf8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.096 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046bdf8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.097 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff7046bdf8 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.097 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101904fd0 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.100 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x10191f380 of class __NSFontTy
pefaceInfo autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.105 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a0b3b0 of class NSAffineTr
ansform autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.105 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a0b470 of class NSFont aut
oreleased with no pool in place - just leaking
2010-02-27 14:58:39.106 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a0b4b0 of class NSFont aut
oreleased with no pool in place - just leaking
2010-02-27 14:58:39.110 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101920a10 of class NSCFArray
autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.111 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1e360 of class NSCFArray
autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.111 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1e730 of class NSCFSet au
toreleased with no pool in place - just leaking
2010-02-27 14:58:39.124 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1e800 of class NSCFArray
autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.125 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1e840 of class NSCFArray
autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.125 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1eaa0 of class NSCFSet au
toreleased with no pool in place - just leaking
2010-02-27 14:58:39.125 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70c9c950 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.126 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70ca8730 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.126 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70caa5d0 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.127 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x10191fa10 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.138 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101920ae0 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.139 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70ca7910 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.139 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70c9eb70 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.140 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70c9ff10 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.140 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70ca9490 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.141 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70ca7e10 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.148 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1ec70 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.149 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70c9b870 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.149 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1ecc0 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.150 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101920c00 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.150 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1eb90 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.151 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a0b4b0 of class NSFont aut
oreleased with no pool in place - just leaking
2010-02-27 14:58:39.152 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70ca9e70 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.174 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x7fff70c9beb0 of class NSCFStr
ing autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.175 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a0b120 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.175 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1f220 of class NSCalibrat
edWhiteColor autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.176 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a1f950 of class NSCFArray
autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.176 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a201a0 of class NSCFDictio
nary autoreleased with no pool in place - just leaking
Using libGL.dylib for OpenGL...setting mode 9: 1024 640
2010-02-27 14:58:39.893 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a05b00 of class NSCFNumber
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.894 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a295d0 of class NSCFArray
autoreleased with no pool in place - just leaking
Sat Feb 27 14:58:39 nils-gotzheins-mac-mini-4.local quake2[594] <Error>: kCGErrorInvalidConnection: CGSNewW
indowWithOpaqueShape: Invalid connection
Sat Feb 27 14:58:39 nils-gotzheins-mac-mini-4.local quake2[594] <Error>: kCGErrorFailure: Set a breakpoint
@ CGErrorBreakpoint() to catch errors as they are logged.
2010-02-27 14:58:39.896 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101912660 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.896 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101907f70 of class NSExceptio
n autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.897 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x10191cd30 of class _NSCallSta
ckArray autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.897 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101926c30 of class _NSCallSta
ckArray autoreleased with no pool in place - just leaking
2010-02-27 14:58:39.897 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101926e20 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:40.343 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x101087600 of class NSCFString
 autoreleased with no pool in place - just leaking
2010-02-27 14:58:40.344 quake2[594:903] *** __NSAutoreleaseNoPool(): Object 0x100a29e80 of class NSConcrete
MutableData autoreleased with no pool in place - just leaking
2010-02-27 14:58:40.344 quake2[594:903] *** Terminating app due to uncaught exception 'NSInternalInconsiste
ncyException', reason: 'Error (1002) creating CGSWindow'
*** Call stack at first throw:
(
        0   CoreFoundation                      0x00007fff85ca4444 __exceptionPreprocess + 180
        1   libobjc.A.dylib                     0x00007fff803640f3 objc_exception_throw + 45
        2   CoreFoundation                      0x00007fff85ca4267 +[NSException raise:format:arguments:] +
 103
        3   CoreFoundation                      0x00007fff85ca41f4 +[NSException raise:format:] + 148
        4   AppKit                              0x00007fff81f756ed _NXCreateWindow + 295
        5   AppKit                              0x00007fff81f7552b _NSCreateWindow + 56
        6   AppKit                              0x00007fff81f7491f -[NSWindow _commonAwake] + 1396
        7   AppKit                              0x00007fff81f7154e -[NSWindow _commonInitFrame:styleMask:ba
cking:defer:] + 1501
        8   AppKit                              0x00007fff81f701da -[NSWindow _initContent:styleMask:backin
g:defer:contentView:] + 1396
        9   AppKit                              0x00007fff81f6fc61 -[NSWindow initWithContentRect:styleMask
:backing:defer:] + 42
        10  libSDL-1.2.0.dylib                  0x00000001008f1cfd -[SDL_QuartzWindow initWithContentRect:s
tyleMask:backing:defer:] + 285
        11  libSDL-1.2.0.dylib                  0x00000001008efaf2 QZ_SetVideoMode + 3410
        12  libSDL-1.2.0.dylib                  0x00000001008e634f SDL_SetVideoMode + 527
        13  ref_gl.so                           0x0000000100d251e9 GLimp_SetMode + 617
)
terminate called after throwing an instance of 'NSException'
Abort trap


Ich habe die Yamagi binaries in mein bestehendes Quake 2 Verzeichnis kopiert, wo auch noch ein anderer Q2 Mac Port residiert. Möglicherweise hat sich da was vermischt, aber sollte eigentlich nicht, weil die Dateien von dem anderen Port anders heißen.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Sa Feb 27, 2010 16:16:38    Titel: Antworten mit Zitat

ich hab keine ahnung, was diese fehlermeldungen bedeuten sollen und wo sie herkommen.. scheint irgendwas mac-spezifisches zu sein Wink

probier auf jeden fall mal ein "sauberes" quake2-dir aus ohne den ganzen kram von anderen ports.. nur um sicher zu gehen, dass er wirklich keine fremden libs lädt o.ä.

EDIT: ich vermute, dass das mit SDL zusammenhängen könnte (yamagiq2 selbst nutzt ja nix osx spezifisches, außer du hast da was reingepatcht). hast du die aktuellste libsdl version (1.2.14)? ansonsten: http://www.libsdl.org/download-1.2.php Smile
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 27, 2010 18:17:11    Titel: Antworten mit Zitat

So ich hab's jetzt nochmal mit 'nem frischen Quake2 Verzeichnis probiert mit dem selben Resultat leider.
libsdl 1.2.14 habe ich eigentlich. Trotzdem sieht man ja auf der Fehlermeldung was von libsdl 1.2.0 - ich weis auch nicht. Sad
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Sa Feb 27, 2010 20:06:14    Titel: Antworten mit Zitat

hmm wenn bei mir beim mounten (unter linux) von SDL-1.2.14.dmg nix verlorengegangen ist, ist darin garkeine libSDL*.dylib enthalten
es gibt irgendwie "framework" oder so als alternative (kA was das genau sein soll), außerdem könntest du dir mal SDLMain angucken (kA, ob man das braucht), siehe auch http://www.libsdl.org/faq.php?action=listentries&category=7#55
und http://gameloop.wordpress.com/2009/08/11/sdl-unter-mac-os-x/

also vllt in der makefile in den CFLAGS "-I/Library/Frameworks/SDL.framework/Headers -framework SDL -framework Cocoa /Library/Frameworks/SDL.framework/devel-lite/SDLMain.m" oder teile davon hinzufügen?
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Sa Feb 27, 2010 22:19:32    Titel: Antworten mit Zitat

So ich habe das alles jetzt mal versucht. SDL Framework installiert und beim makefile das so dazugemacht:
Code:

# SDL
SDLCFLAGS := $(shell sdl-config --cflags) -I/Library/Frameworks/SDL.framework/Headers -framework SDL -framework Cocoa /Library/Frameworks/SDL.framework/devel-lite/SDLMain.m


Ich kenne mich mit Makefiles usw. leider nicht so gut aus deswegen hab ichs dahin gemacht wo es am ehesten hinpasst. Es hat auch kompiliert, allerdings habe ich keinen Unterschied zu vorher bemerkt. Es stand da auch nichts von SDL Framework. Und das Problem beim Ausführen hinterher war auch das gleiche.

Brauch ich für Yamagi Quake 2 eigentlich X11 oder geht das ohne?

Naja ich fürchte fast ich muss mich damit abfinden dass Yamagi unter OS X nicht will. Aber wenn dir noch was einfällt was ich probieren könnte probier ich das gerne aus!
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: Sa Feb 27, 2010 23:46:04    Titel: Antworten mit Zitat

yamagiq2 selbst braucht glaub ich kein x11 - unter linux müsste es x11 über SDL nutzen, unter osx sollte dann analog cocoa usw genutzt werden (durch SDL)
wenn es x11 brauchen würde, müsste er beim compilen schon nölen, dass ihm entsprechende header fehlen.

Zitat:
# You must give your main() procedure the following prototype:
int main(int argc, char*argv[]);

# You must make sure the file containing your main() procedure #includes SDL.

main() liegt in srx/posix/system.c (letzte funktion in der datei)
da steht "int main (int argc, char **argv)" du könntest das durch "int main(int argc, char*argv[])" ersetzen, aber das sollte eigentlich äquivalent sein.
außerdem musst du dann noch oben in der datei "#include <SDL.h>" eintragen.

gibts hier im forum nicht irgendwen, der bisschen erfahrung mit entwicklung unter OSX, evtl sogar mit SDL, hat? ich kann immer nur raten Wink
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: So Feb 28, 2010 9:23:33    Titel: Antworten mit Zitat

Habe die Änderung in system.c eingebaut:
Code:

Undefined symbols:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


Ich vermute jedoch es liegt am falschen OpenGL Treiber. Wenn ich z.B. bei ./quake2 +set gl_driver irgendeine andere .dylib Datei angebe, die garnichts mit OpenGL zu tun hat kommt die gleiche Fehlermeldung!
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: So Feb 28, 2010 16:23:44    Titel: Antworten mit Zitat

ne, das sieht eher nicht nach opengl-treiber aus, sondern eher, als könnte er _main (hat vermutl irgendwas mit SDLMain zu tun) in keiner "dll" finden.
er kommt garnicht so weit, zu merken, dass der opengl-treiber (nicht) stimmt

es gibt in der Makefile neben SDLCFLAGS noch "SDLLDFLAGS".

probier mal, diesen ganzen mac-spezifischen framework-wichs auch da hinten dran zu hängen (also "-I/Library/Frameworks/SDL.framework/Headers -framework SDL -framework Cocoa /Library/Frameworks/SDL.framework/devel-lite/SDLMain.m")

beim erstellen der executable werden definitiv die SDLLDFLAGS und nicht die SDLCFLAGS genutzt - das würde erkären, warum er _main nicht finden kann Smile
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: So Feb 28, 2010 19:09:03    Titel: Antworten mit Zitat

Habe die zusätzlichen Parameter jetzt in beiden Bereichen SDLLDFLAGS und SDLCFLAGS hinten dran gehängt. Der Fehler beim Kompilieren bleibt der gleiche.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: So Feb 28, 2010 19:15:48    Titel: Antworten mit Zitat

Mir fällt gerade auf, du hast jetzt das SDL in Frameworks referenziert. Ich hab' noch das aktuelle SDL (1.2.14_8), das ich über meinen Packet Manager installiert habe. Das dürfte auch Unix ähnlicher sein als das in OSX integrierte. Das liegt bei mir in /opt/local/var/macports/software/libsdl/1.2.14_8/opt/local

Dort gibts dann folgende Unterverzeichnisse:
bin
include
lib
share

Ich habe schon versucht ins makefile den oben angegebenen Pfad reinzumachen, noch ohne Erfolg. Aber vielleicht muss ich ja einen Unterordner angeben?
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
caedes
Quaker


Anmeldungsdatum: 22.08.2002
Beiträge: 2545
Wohnort: Marburg

BeitragVerfasst am: So Feb 28, 2010 23:27:53    Titel: Antworten mit Zitat

und ich war davon ausgegangen, du hättest dieses paket von libsdl.org ...
installiert das einfach mal und gucke, obs dann klappt.

wenn nicht musst du evtl sicherstellen, dass das sdlconfig, das zu per paketmanager installiert hast, genutzt wird (vollen pfad dahin angeben). außerdem solltest du dann zu den SDLLDFLAGS "-L /opt/local/var/macports/software/libsdl/1.2.14_8/opt/local/lib/" oder so hinzufügen.
_________________
caedes

"Censorship is telling a man he can't have a steak just because a baby can't chew it." - Mark Twain
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
SquiSHeR
Quaker


Anmeldungsdatum: 25.03.2009
Beiträge: 64

BeitragVerfasst am: Mo März 01, 2010 19:23:50    Titel: Antworten mit Zitat

Ok also die entsprechende Zeile im makefile sieht bei mir jetzt so aus:
Code:

# SDL
SDLLDFLAGS := /opt/local/var/macports/software/libsdl/1.2.14_8/opt/local/bin/sdl-config --cflags -I /opt/local/var/macports/software/libsdl/1.2.14_8/opt/local/lib/

Ich habe das doch richtig verstanden dass sdl-config da als erstes angegeben werden muss?

Beim kompilieren kommt noch immer der Fehler bezüglich "Undefined symbols: _main".

Ich hab' die entsprechende Zeile in system.c mal wieder so hergestellt wie sie ursprünglich war, dann kommt beim Kompilieren ein neuer mit SDL in Zusammenhang stehender Fehler.

Code:

/opt/local/var/macports/software/libsdl/1.2.14_8/opt/local/bin/sdl-config --cflags -I /opt/local/var/macports/software/libsdl/1.2.14_8/opt/local/lib/ -lvorbis -lvorbisfile -logg -lz
ld: library not found for -lvorbis
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Beiträge der letzten Zeit anzeigen:   
Neues Thema eröffnen   Neue Antwort erstellen    quake.de Foren-Übersicht -> Linux Alle Zeiten sind GMT + 1 Stunde
Gehe zu Seite 1, 2  Weiter
Seite 1 von 2

 
Gehe zu:  
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.


Powered by phpBB © 2001, 2005 phpBB Group