fcooper / gngeo

Automatically exported from code.google.com/p/gngeo
Other
1 stars 0 forks source link

Compile error: unknown type name ‘M68K_STATE’ #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
2. make
3.

What is the expected output? What do you see instead?

star_interf.c:294:25: error: unknown type name ‘M68K_STATE’

What version of the product are you using? On what operating system?

gngeo-6ad2a3d1bba3 on Debian GNU/Linux Wheezy i686

Please provide any additional information below.

I added the following line to src/star_interf.c:

#include "state.h"

but this not solve the error, because definition of ‘M68K_STATE’ is 
disabled into state.h: it is nested into an "#if 0" clause.

Original issue reported on code.google.com by niccolo....@gmail.com on 6 Jan 2013 at 8:37

GoogleCodeExporter commented 9 years ago
currently the problem solved in mercurial tree... but for 0.8 download solved 
as:

1) removed the if-else or comment it..
2) added that after the removed else ...:
#define ST_VER1 1
#define ST_VER2 2
#define ST_VER3 3
Uint8 state_version;

and that's all for the tarball if something downloaded..

Original comment by mckayger...@gmail.com on 8 Jan 2014 at 3:10

GoogleCodeExporter commented 9 years ago
sorry but.. i have the same problem.. removed the if-else on star-interface.c? 
i have understand good? sorry iam not a coder but i have compiled some program..

Original comment by nax...@gmail.com on 10 Nov 2014 at 3:21