Dear all,

I met a problem. When I try to compile my code with gcc or g++, I will get
the following errors:

/tmp/ccMCTgOr.s: Assembler messages:
/tmp/ccMCTgOr.s:155: Error: ignoring junk `new' after expression
/tmp/ccMCTgOr.s:299: Error: Rest of line ignored. First ignored character is
`n'.
/tmp/ccMCTgOr.s:301: Error: Rest of line ignored. First ignored character is
`n'.
/tmp/ccMCTgOr.s:302: Error: ignoring unrecognized symbol type "new"
/tmp/ccMCTgOr.s:302: Error: Rest of line ignored. First ignored character is
`,'.
/tmp/ccMCTgOr.s:303: Error: no such instruction: `operator new:'
/tmp/ccMCTgOr.s:312: Error: expected comma after name `operator' in .size
directive
/tmp/ccMCTgOr.s:312: Error: Rest of line ignored. First ignored character is
`n'.
/tmp/ccMCTgOr.s:313: Warning: Ignoring changed section attributes for
.modinfo
make: *** [_mq.o] Error 1

But when I changed to kgcc, I will just get some warning message not error
message.

/usr/src/linux/include/asm/processor.h: In function `void rep_nop()':
In file included from /usr/src/linux/include/linux/sched.h:74,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/malloc.h:4,
                 from /usr/qrts/include/builtins++.h:42,
                 from mq.cpp:23:
/usr/src/linux/include/asm/processor.h:333: warning: volatile qualifier
ignored on asm
/tmp/ccCeklPz.s: Assembler messages:
/tmp/ccCeklPz.s:368: Warning: Ignoring changed section attributes for
.modinfo


Why? What is the differences between them?

I need your help.

Thanks in advance.
Hai Xu

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to