LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2005, 03:24 AM   #1
qqrilxk
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Rep: Reputation: 0
Question 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!
 
Old 03-17-2005, 03:58 PM   #2
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 05:32 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 01:49 PM
What does "signature" in source packages means b0nd Linux - Newbie 1 02-17-2005 01:25 AM
What's this "So-and-so not found in PATH" junk I keep getting? TheMusicGuy Linux - Newbie 3 05-20-2004 02:41 PM
what means "no rules to build the target"? captainstorm Programming 4 07-03-2003 10:26 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:12 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