Error messages I don't understand

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, everybody,

Since I'm a beginner in C, please help me revise command.c to make it
compile cleanly.  I don't how much of that 503-line program you'll need
to read, so I'm omitting it from this note. But if you'll estimate how
much of it I should show you, I'll show you that much of it. 

By the way, I'm running the latest version of gcc on a Sunblade 100
workstation.

Thanks so much for your help.

Bill

Script started on Sat 28 Apr 2007 12:30:11 PM EDT
%cd source
%gmake
gcc  -O2    -c -o command.o command.c
command.c: In function 'c_interp':
command.c:55: error: invalid lvalue in assignment
command.c: In function 'c_condition':
command.c:190: error: invalid lvalue in assignment
command.c:194: error: invalid lvalue in assignment
command.c: In function 'c_doall':
command.c:215: warning: incompatible implicit declaration of built-in
function 
'strlen'
gmake: *** [command.o] Error 1
%^Dexit

script done on Sat 28 Apr 2007 12:30:35 PM EDT




________________________________________________________________
Please visit a saintly hero.
http://www.jakemoore.org

"Pro-choice?"  Click here:
http://www.abortionno.com/Resources/pictures.html

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux