Discussion: Compiler error
Afficher un message
Vieux 03/02/2008, 19h52   #10
Mark McIntyre
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Compiler error

Harald van Dijk wrote:
> On Sun, 03 Feb 2008 15:28:42 +0000, Mark McIntyre wrote:
>> M.Caggiano wrote:
>>> I've write a function without errors but i've this message after
>>> compilation:
>>>
>>> *** ["../Socket/Client/Client.o"] Error1
>>>
>>> how can i resolve this problem?

>> Read the compiler / linker manual to find out what "error 1" is. This
>> looks more like a linker error, by the way - nothing to do with C.

>
> Doesn't look like a linker error to me. It looks like there's an error
> reported by make or a similar build tool in generating


You may be right, but my crystal ball isn't up to devining anything
better than "user claims no bugs in C code, but still gets error,
possible error in the next step of creating an executable"...

> ../Socket/Client/Client.o, which is typically the job of the compiler,
> not the linker.


it could equally well be a problem /reading/ that object in order to
link it. The OP removed all useful context...

I don't know why the OP didn't bother to post an actually
> useful error message though.


I suspect its the usual reason - he snipped what he thought was
irrelevant but didn't know enough about the problem to get that snippage
right.

To the OP: post more detail...
--
Mark McIntyre

CLC FAQ <http://c-faq.com/>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
  Réponse avec citation
 
Page generated in 0,05931 seconds with 9 queries