Yet another 96 GCC patch

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
ducon
Posts: 186
Joined: Sun Dec 21, 2003 1:11 am
Contact:

Post by ducon »

For the one who had the same problem, check that /usr/local/lib/ (or where you copied your libs) is in /etc/ld.so.conf and run ldconfig as root.

It wooorks! And don’t forget +snd_output oss if you want the OSS sound output.
User avatar
cyber-menace
Posts: 186
Joined: Thu Mar 18, 2004 12:05 pm
Location: N/A

Post by cyber-menace »

Where can I get my hands on the actual Zdoom for Linux tar.bz2? Seeing as this is just a patch it isn't the whole thing and I want to be able to run Zdoom in Linux.
User avatar
Chris
Posts: 2978
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

There is no "actual" .tar.bz2. Randy released the .96 sources, and I made a patch for it to compile/work in Linux. I have some prebuilt binaries that I can email out, but they might not be very compatible across systems.
Tammy
Posts: 2
Joined: Sun Mar 13, 2005 2:05 pm
Location: Ice fishing in hell
Contact:

Post by Tammy »

With music enabled I get a SIGPIPE:

Code: Select all

(gdb) run
Starting program: /home/tamarind/downloads/zdoom/zdoom-debug 
[Thread debugging using libthread_db enabled]
[New Thread -1215026976 (LWP 30598)]
[New Thread -1215235152 (LWP 30601)]
 adding zdoom.wad (134 lumps)
 adding ./doom1.wad (1264 lumps)
CPU Speed: ~0.058858 MHz
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Pentium(R) 4 CPU 2.53GHz 4 CPU 2.53GHz
  Family 15, Model 2, Stepping 4
  Features: MMX SSE SSE2
I_InitSound: Initializing FMOD
  Setting OSS (Open Sound System) output succeeded
  Setting driver 0 succeeded
  Initialization[New Thread -1223894096 (LWP 30602)]
[New Thread -1232286800 (LWP 30603)]
 succeeded
Resolution: 640 x 480
Init DOOM refresh subsystem.
Init miscellaneous info.
Init Playloop state.
Setting up sound.
S_Init
Checking network game status.
player 1 of 1 (1 nodes)

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1215026976 (LWP 30598)]
0xffffe410 in ?? ()
(gdb) bt full
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbfffdf68 in ?? ()
No symbol table info available.
#2  0x00000014 in ?? ()
No symbol table info available.
#3  0x084ec648 in ?? ()
No symbol table info available.
#4  0xb7cafd7b in write () from /lib/tls/libc.so.6
No symbol table info available.
#5  0xb7a2e0be in _X11TransSocketWrite () from /usr/lib/libX11.so.6
No symbol table info available.
#6  0xb7a2e39a in _X11TransWrite () from /usr/lib/libX11.so.6
No symbol table info available.
#7  0xb7a11c2f in _XFlushInt () from /usr/lib/libX11.so.6
No symbol table info available.
#8  0xb7a11cb5 in _XReply () from /usr/lib/libX11.so.6
No symbol table info available.
#9  0xb7a0c812 in XSync () from /usr/lib/libX11.so.6
No symbol table info available.
#10 0xb7f5718c in X11_ShowWMCursor () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#11 0xb7f4b9af in SDL_SetCursor () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#12 0xb7f4bae1 in SDL_ShowCursor () from /usr/lib/libSDL-1.2.so.0
No symbol table info available.
#13 0x083216df in I_CheckNativeMouse () at i_input.cpp:246
        focus = true
        fs = false
        wantNative = false
#14 0x08321cee in I_StartTic () at i_input.cpp:424
No locals.
#15 0x08074162 in NetUpdate () at d_net.cpp:938
        lowtic = 3
        j = 134745429
        realstart = -1073749640
        resendOnly = 87
        count = -1073749672
        quitcount = 0
        nowtime = 28
        newtics = 10
        i = 0
        cmddata = (byte *) 0x57ce7e7c <Address 0x57ce7e7c out of bounds>
#16 0x08075d03 in TryRunTics () at d_net.cpp:1840
        i = 1
        lowtic = 17
        counts = 16
        numplaying = 1
        doWait = false
        realtics = 18
        availabletics = 17
#17 0x0806e76c in D_DoomLoop () at d_main.cpp:739
        lasttic = 0
#18 0x080714cd in D_DoomMain () at d_main.cpp:2283
        flags = 0
        file = "/home/tamarind/.zdoom/skins", '\0' <repeats 2613 times>, "\220,ÿ·áÄ\221·Ø¼¥·", '\0' <repeats 20 times>, "¸Å\221·8½\221·ø´\221·pcO\b\a\000\000\000èhO\b\000\000\000\000à«ê\vؼ¥·´\017\000¸\000\000\000\0004eO\bÄíÿ¿°/ÿ·\000\000\000\000\200íÿ¿ÈdO\b\000\000\000\000\000\000\000\000\002", '\0' <repeats 19 times>, "\220,ÿ·\017Å\221·ð¼¥·", '\0' <repeats 20 times>, "¸Å\221·8½\221·ø´\221·pcO\b\a\000\000\000èhO\b\000\000\000\000\222\034¯\t"...
        files = (class DArgs *) 0x85c24f8
        val = 0x0
        p = 0
        v = 0x0
        wad = 0x0
        execFiles = (class DArgs *) 0x8503f28
        home = 0xbffffd95 "/home/tamarind"
#19 0x08322e7d in main (argc=1, argv=0xbffff354) at i_main.cpp:205
        slash = 0x8447a9e "/"
The music isn't very crucial; just reporting a crash. =P There are a bunch of zmid* files in the binary's directory.
User avatar
Chris
Posts: 2978
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

This seems to happen when Timidity crashes/doesn't run.. the filepipe gets broken, and I can't figure out how to stop SIGPIPE from occuring. Until I can figure this out (and perhaps supply an ALSA alternative), you'll just have to keep music off (unless you can figure out why Timidity isn't running).

As for the zmid's, those are temporary midi files that Timidty reads. They're normally cleaned up, but since it crashes it never gets to that point.
User avatar
Csonicgo
Posts: 1193
Joined: Thu Apr 15, 2004 3:28 pm
Location: Leeds

Post by Csonicgo »

well it runs fine here... heh. thank god for that.
User avatar
cyber-menace
Posts: 186
Joined: Thu Mar 18, 2004 12:05 pm
Location: N/A

Post by cyber-menace »

Okay, I've done everything that was necessary before starting to install Zdoom, but once I try that it's errosville for me. When trying to patch:

Code: Select all

bash-2.05b# patch -p0 < changes.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN old_src/d_dehacked.cpp src/d_dehacked.cpp
|--- old_src/d_dehacked.cpp     2004-12-24 22:17:14.000000000 -0800
|+++ src/d_dehacked.cpp 2004-12-24 22:22:22.000000000 -0800
--------------------------
And when trying to make

Code: Select all

bash-2.05b# make
make: *** No rule to make target `obj/autostart.o', needed by `zdoom'.  Stop.
What's going on with this thing?
User avatar
cyber-menace
Posts: 186
Joined: Thu Mar 18, 2004 12:05 pm
Location: N/A

Post by cyber-menace »

I think I know what the problem is. My system isn't properly extracting rar files even though I have unrar installed. The neccessary files have not been extracted. Can somebody please take the contents of 96src.rar and put it in a tar.bz2 for me please.

EDIT: Never mind. I went and installed rar and Archive-Rar and that seemed to be enough to fix the problem. It's compiling now.
Last edited by cyber-menace on Mon Mar 14, 2005 12:30 pm, edited 1 time in total.
User avatar
chronoteeth
Posts: 2664
Joined: Wed Sep 08, 2004 1:29 pm
Preferred Pronouns: It/Its

Post by chronoteeth »

If all else fails with this .rar, there still is one more choice, and it might work for those who cannot open it. .ACE it.
User avatar
ducon
Posts: 186
Joined: Sun Dec 21, 2003 1:11 am
Contact:

Post by ducon »

No please, no ace files. It’s often a pain in the ass to uncompress in Linux. Please in tgz or in zip formats.
User avatar
Your Name Is
Posts: 802
Joined: Sun Oct 31, 2004 5:06 pm
Location: Raleigh, NC
Contact:

Post by Your Name Is »

Not everyone has Linux
User avatar
jallamann
Posts: 2271
Joined: Mon May 24, 2004 8:25 am
Location: Ålesund, Norway
Contact:

Post by jallamann »

GZipped Tarballs (.tar.gz or .tgz) is a collection of files that are tarballed and compressed using GNU tools. This is a standard in the non-Windows world.

Zip is a standard in the Windows world and so widespread that almost any half-decent computer can access the files in a zip file.


Not everyone has Windows either. And many of them doesn't want to use it.
User avatar
Chilvence
Posts: 1647
Joined: Mon Aug 11, 2003 6:36 pm
Contact:

Post by Chilvence »

Your Name Is wrote:Not everyone has Linux
What exactly do you need a GCC compiled zdoom for if you dont actually use the compiler at all? It's not like there is anything special about this version, its just that you can compile it without the need for MS Windows and visual studio 2003.
User avatar
Chris
Posts: 2978
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Well.. if someone wants to work on the code but only has/wants to use Windows+MinGW. Linux isn't the only OS that has GCC.
User avatar
Chilvence
Posts: 1647
Joined: Mon Aug 11, 2003 6:36 pm
Contact:

Post by Chilvence »

Your Name Is wrote:Not everyone has a compiler, you should make a working compiled version for people like me :(
Not everyone has a computer. You should make a pop up version for people like me :(
Post Reply

Return to “General”