LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2005, 10:52 PM   #1
1337 Twinkie
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79

Rep: Reputation: 15
compiling problems with gcc 3.4


Has anyone else had problems compiling certain programs with gcc 3.4 ? The newer version is apparently much pickier about "good" code and will error out over things like capitaization.

Specifically, I've had problems with SDL and SDL_gfx. The problem with SDL was a capitaliztation one (one of the config files contained a "q" as opposed to a "Q"). I get similer errors with SDL_gfx, but I can't find anyone with the same problems.

Here are the errors (SDL_gfx):

Code:
/tmp/ccMxQ7Fh.s: Assembler messages:
/tmp/ccMxQ7Fh.s:28: Error: suffix or operands invalid for `pusha'
/tmp/ccMxQ7Fh.s:32: Error: suffix or operands invalid for `popa'
/tmp/ccMxQ7Fh.s:109: Error: suffix or operands invalid for `pusha'
/tmp/ccMxQ7Fh.s:126: Error: suffix or operands invalid for `popa'
/tmp/ccMxQ7Fh.s:241: Error: suffix or operands invalid for `pusha'
/tmp/ccMxQ7Fh.s:265: Error: suffix or operands invalid for `popa'
/tmp/ccMxQ7Fh.s:394: Error: suffix or operands invalid for `pusha'
/tmp/ccMxQ7Fh.s:411: Error: suffix or operands invalid for `popa'
/tmp/ccMxQ7Fh.s:524: Error: suffix or operands invalid for `pusha'
/tmp/ccMxQ7Fh.s:544: Error: suffix or operands invalid for `popa'
/tmp/ccMxQ7Fh.s:658: Error: suffix or operands invalid for `pusha'
/tmp/ccMxQ7Fh.s:693: Error: suffix or operands invalid for `popa'
/tmp/ccMxQ7Fh.s:807: Error: suffix or operands invalid for `pusha'
/tmp/ccMxQ7Fh.s:823: Error: suffix or operands invalid for `popa'
/tmp/ccMxQ7Fh.s:918: Error: suffix or operands invalid for `pusha'
/tmp/ccMxQ7Fh.s:947: Error: suffix or operands invalid for `popa'
/tmp/ccMxQ7Fh.s:1063: Error: suffix or operands invalid for `pusha'
#this continues on for several tens of more errors
make: *** [SDL_imageFilter.lo] Error 1
any ideas?
 
Old 05-13-2005, 03:51 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
as new versions of gcc come out, things that were deperacted in earlier releases are made illegal.

also, notice the suffix on those files below, they look like assembly not c so it's probably the assembler complaining.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc compiling problems Jonas Brannstrom Programming 3 08-02-2005 03:12 PM
Problems compiling gcc. sombre1 Linux - Software 3 07-17-2005 05:28 PM
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
GCC 3.2.2 - problems compiling MeinVerstand Linux - General 0 05-25-2004 01:24 PM
problems compiling Palm Emulator w/ gcc billder3 Linux - Newbie 1 06-27-2001 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration