Jump to content
Eternal Lands Official Forums
Sign in to follow this  
notty

error: unrecognized option `-Wdeclaration-after-st

Recommended Posts

I try to compile the cvs version and i get this error on my Debian box

 

Any ideea what can i do ?

 

$ make
make: sdl-config: Command not found
echo 2d_objects.o 3d_objects.o actor_scripts.o actors.o asc.o books.o buddy.o cache.o chat.o colors.o console.o consolewin.o cursors.o dialogues.o draw_scene.o elconfig.o elwindows.o encyclopedia.o errors.o events.o filter.o font.o frustum.o gamewin.o gl_init.o hud.o help.o ignore.o init.o interface.o items.o keys.o knowledge.o lights.o loginwin.o main.o manufacture.o map_io.o mapwin.o md2loader.o md5.o misc.o multiplayer.o new_actors.o new_character.o notepad.o openingwin.o options.o particles.o paste.o pathfinder.o pm_log.o questlog.o reflection.o rules.o sector.o shadows.o sound.o spells.o stats.o tabs.otext.o textures.o tile_map.o timers.o translate.o trade.o weather.o widgets.o  | sed 's/\.o/.c/g' | xargs gcc -march=i686 -Wdeclaration-after-statement -Wall -Werror -O -ggdb -pipe -DLINUX -DELC   -I/usr/include/libxml2 -MM >.depend
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
cc1: error: unrecognized option `-Wdeclaration-after-statement'
make: *** [.depend] Error 123

Share this post


Link to post
Share on other sites

remove that flag from the Makefile. it's only supported by gcc 3.4 and higher

Share this post


Link to post
Share on other sites
I switched to gcc 3.4

So you took the hardest way out, heh :(

and now i get lot's of errors..

Looks like your standard include path got messed up somehow. Or you deleted the SDL and openGL libraries in the process.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×