gcc: gengtype-lex.c: No such file or directory
gcc: no input files
make[2]: *** [build/gengtype-lex.o] Error 1
make[2]: Leaving directory `/home/alan/toolchain/gcc-4.0.2/build-open2x-stage1/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/alan/toolchain/gcc-4.0.2/build-open2x-stage1'
alan@AlansLaptop:/etc$ gcc] Error 2
i just got that too in svg lib, odd, worked on home machine.I was getting all sorts of bizarre things from SDL errors to there being apparantly impossible constraints.
poddy posted on Dec 4 2006 at 08:45 PM said:i just got that too in svg lib, odd, worked on home machine.I was getting all sorts of bizarre things from SDL errors to there being apparantly impossible constraints.
just remove it as a make target from makefile as workaround.
your other problems very possibly stem from runningn make as root without having exported open2x and path, which would dump open2x-gcc etc etc in /bin....
have a bit of a housecleaning session and you'll probably be ok.
v. odd about the sdl_svg though....
same system @ home and work :blink:
Nmn posted on Dec 6 2006 at 01:05 AM said:If worst comes to worst, install wine. I know it works generally decent with dev-c++ if you don't turn on XP themes, although i remember a few crashes (Although i could still use the program, less of a problem, more of a slight annoyance.) Hopefully, Code::Blocks isn't too far away and you can use wine to run that and a GCC toolkit. Notice that if your doing any kernel work, avoid this because its really effing slow.
If you think this is a stupid idea, you'd be surprised. No, not that it will work, about how many other stupid things i do in Linux I'm trying to build a Knoppix based distro for gtkpod and some scripts and a daemon to keep it mounted. I learned how stupid I am with Linux. And owning an iPod would always help, mind you.
Tell me if that sketched out wine idea works. If you have to install it from source, download code-weavers source code and install for a GUI boost. And if you want it to work easier, the crossover package is cheap. Yeah, and if you think I'm a total retard, your probably right
edit: Oh, and screw everything when i broke my X installation because of nVidia problems, i ended up having to use Vim to edit all of my files. I wrote a very small program. If i ever submitted it, i would probably get beaten for it. Its that simple. (And my X problems were fixed after i upgraded my kernel and reinstalled the drivers )
BUILD = $(shell uname -m)
HOST = open2x
TARGET = open2x
PREFIX = $(OPEN2X)
FLAGS += CC='open2x-gcc'
FLAGS += CXX='open2x-g++'
FLAGS += CFLAGS='-O3 -ffast-math -fomit-frame-pointer -mcpu=arm920t -I$(OPEN2X)/include -I$(OPEN2X)/include/libxml2'
FLAGS += LDFLAGS='-L$(OPEN2X)/lib'
TARGETS += $(PREFIX)/lib/libImlib2.a
TARGETS += $(PREFIX)/lib/libSDL.a
TARGETS += $(PREFIX)/lib/libSDL_gfx.a
TARGETS += $(PREFIX)/lib/libSDL_image.a
TARGETS += $(PREFIX)/lib/libSDL_mixer.a
#TARGETS += $(PREFIX)/lib/libSDL_svg.a
#TARGETS += $(PREFIX)/lib/libSDL_ttf.a
...
Blah posted on Dec 6 2006 at 07:39 AM said:If you ever get Open2x working try compiling the libraries for it.
Fetch the libs folder from the subversion.
Change this libs makefile so it starts out like this:
Code:BUILD = $(shell uname -m) HOST = open2x TARGET = open2x PREFIX = $(OPEN2X) FLAGS += CC='open2x-gcc' FLAGS += CXX='open2x-g++' FLAGS += CFLAGS='-O3 -ffast-math -fomit-frame-pointer -mcpu=arm920t -I$(OPEN2X)/include -I$(OPEN2X)/include/libxml2' FLAGS += LDFLAGS='-L$(OPEN2X)/lib' TARGETS += $(PREFIX)/lib/libImlib2.a TARGETS += $(PREFIX)/lib/libSDL.a TARGETS += $(PREFIX)/lib/libSDL_gfx.a TARGETS += $(PREFIX)/lib/libSDL_image.a TARGETS += $(PREFIX)/lib/libSDL_mixer.a #TARGETS += $(PREFIX)/lib/libSDL_svg.a #TARGETS += $(PREFIX)/lib/libSDL_ttf.a ...
OT: I need to look into the security of my network, just a second ago someone was moving the cursor on my other computer and attempting to download something I think I freaked them out though when I started bashing CTRL+ALT+DEL and killing processes (like VNC for example which I had configured with a password :huh.
paeryn uploaded a new sdl today, just checking it out now....inksmithy posted on Dec 6 2006 at 08:11 AM said:Just as a general question though, is anyone still working on open2x? is revision 181 as far as its likely to go or not?