LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   what means "Error:junk 'string' after register" (https://www.linuxquestions.org/questions/programming-9/what-means-error-junk-string-after-register-302633/)

qqrilxk 03-17-2005 02:24 AM

what means "Error:junk 'string' after register"
 
There is a c program with inline asm .When i compiled it the compiler says "Error:junk 'string' after register",I wonder what is this means?
your help is very useful to me ,thans!

TheLinuxDuck 03-17-2005 02:58 PM

Not really sure what that is, but found this info on a message posted by someone's same problem:
Quote:

ntry.s: Assembler messages (lines when compiled as a single file):
...
entry.s:825: Error: junk `(%esp)' after register
entry.s:829: Error: junk `(%esp)' after register
entry.s:867: Error: junk `(%esp)' after register

which was due to those "C"-ish text-macroes with capitalized register
names. "fixed" by inserting ".att_synax" at beginning of file
At the url:
http://lists.gnu.org/archive/html/bu.../msg00195.html


All times are GMT -5. The time now is 10:48 PM.