[Fixed][r4420] Undeclared functions in blargg_source.h, Vgm_

Bugs that have been fixed.

[Fixed][r4420] Undeclared functions in blargg_source.h, Vgm_

Postby BondEar » 09 May 2011 03:24

Here's the errors for blargg_source.h:

[code][ 20%] Building CXX object source/gme/src/CMakeFiles/gme.dir/blargg_common.o
In file included from /home/jb/games/vavoom-svn/source/gme/src/blargg_common.cpp:16:0:
/hom
BondEar
 
Posts: 28
Joined: 04 Mar 2011 07:26

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby Firebrand » 10 May 2011 16:57

Made a few more corrections, please test using the latest revision.
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby BondEar » 10 May 2011 21:12

The GME compiles fine now, thanks!

The only problem I have now (and this might be exclusive to me, I don't know) is that the engine won't compile. It's still segfaulting when it's generating engine.dat. I'm running Valgrind on make with --trace-children=
BondEar
 
Posts: 28
Joined: 04 Mar 2011 07:26

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby Firebrand » 10 May 2011 22:08

You mention that when you are able to compile the engine, it doesn't runs correctly, can you run it using "-debug" parameter? This will create a debug.txt file that could indicate what's the error it's causing, which could help to find the probl
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby BondEar » 10 May 2011 23:38

Here's debug.txt when running a straight vavoom -debug:

[code]signal: Segmentation Violation
Log: - AddGameDir
Log: - AddGameDir
Log: - FL_Init
Log: - Host_Init
Log: Doing C_Shutdown
Log: Doing CL_Shutdown
Log: Do
BondEar
 
Posts: 28
Joined: 04 Mar 2011 07:26

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby Firebrand » 11 May 2011 13:20

Seems like the problem is in "vlumpy.exe" which is the program used to generate PK3 files for progs (which are ZIP files with renamed extension), my guess is that somehow you are using a version of zlib that is too old or isn't compiling correct
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby BondEar » 12 May 2011 04:23

Yeah the zlib I'm using is 1.2.3. I'll try upgrading it to 1.2.5 (the latest version) and see if that helps.

EDIT: Nevermind, if I force an upgrade to a newer version in Synaptic it sets it so that a whole bunch of other programs are uninstalled. Is ther
BondEar
 
Posts: 28
Joined: 04 Mar 2011 07:26

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby BondEar » 20 May 2011 02:28

I built my own libz.so.1.2.5 and have it in a folder in my home directory. How do I change the cmake file to use the library I built (and its headers) instead of the one in /usr/lib?
BondEar
 
Posts: 28
Joined: 04 Mar 2011 07:26

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby Firebrand » 20 May 2011 11:29

You can check the cmake documentation and set the CMAKE_LIBRARY_PATH variable to the place where you have your zlib library.
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby Firebrand » 21 May 2011 16:21

Does it segfault even with the latest revision?
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby BondEar » 21 May 2011 21:19

When using zlib 1.2.5 it still segfaults once it gets to engine.dat. This happens with both 1.33 and r4424.
BondEar
 
Posts: 28
Joined: 04 Mar 2011 07:26

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby Firebrand » 23 May 2011 11:43

Have you tried using a newer version of GCC? It could help to solve your problem.
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby BondEar » 24 May 2011 00:16

I'm using GCC 4.5.3.
BondEar
 
Posts: 28
Joined: 04 Mar 2011 07:26

Re: [r4420] Undeclared functions in blargg_source.h, Vgm_Cor

Postby Firebrand » 02 Jun 2011 02:26

I'll close this thread, since the main problem reported has been fixed, if you have more details about this, post them in the segfault thread.
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron