IllegalLeft / gngeo

Automatically exported from code.google.com/p/gngeo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error: unknown type name ‘M68K_STATE’

GoogleCodeExporter opened this issue · comments

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

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

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