473,394 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Compiler error

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?
Many many thanks in advance.
Feb 3 '08 #1
7 1331
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.

--
Mark McIntyre

CLC FAQ <http://c-faq.com/>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
Feb 3 '08 #2
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
.../Socket/Client/Client.o, which is typically the job of the compiler,
not the linker. I don't know why the OP didn't bother to post an actually
useful error message though.
Feb 3 '08 #3
In article <cc**************************@cache3.tilbu1.nb.hom e.nl>,
=?UTF-8?q?Harald_van_D=C4=B3k?= <tr*****@gmail.comwrote:
>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
>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
../Socket/Client/Client.o,
I would agree. "Error 1" is make's typical error report after
a problem in the previous step, whether that step be a compile or link.
It is what "make" reports for the majority of situations in which
the previous step returned a non-success error code. The actual
problem would have appeared above that.
--
"No one has the right to destroy another person's belief by
demanding empirical evidence." -- Ann Landers
Feb 3 '08 #4
Mark McIntyre said:

<snip>
This looks more like a linker error, by the way - nothing to do with C.
Linking is Translation Phase 8, a very important part of the translation
process for C programs. It is lots to do with C.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Feb 3 '08 #5
Richard Heathfield wrote:
Mark McIntyre said:

<snip>
>This looks more like a linker error, by the way - nothing to do with C.

Linking is Translation Phase 8, a very important part of the translation
process for C programs. It is lots to do with C.
Read what I wrote more carefully.

While "linking" is something to do with C, the linker is not. The linker
is a language-neutral tool that performs the action of linking.

--
Mark McIntyre

CLC FAQ <http://c-faq.com/>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
Feb 3 '08 #6
M.Caggiano wrote:
The only error of the function is that.
You typed
gcc myfile.c

and that was the only output?????
I don't know whether to also think because the message is enough
vague.
You need to post more detail...

--
Mark McIntyre

CLC FAQ <http://c-faq.com/>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
Feb 3 '08 #7
M.Caggiano wrote:
Thank's for your answer.
This is the c code:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winsock.h>
#include <windows.h>
And these few lines are enough to see that what you're having is not really
a C problem but (possibly) a Windows API problem, and is therefore off-topic
in this newsgroup.

Go to a newsgroup concerned with Windows networking programming, where your
question is on-topic. We can't realy help you here.

robert
Feb 4 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to...
2
by: Mike Fisher | last post by:
I'm seeing an error when I try to run/debug a web service. Although it doesn't happen every time, it does occur more than half of the times I hit F5. It appears to be returned by the the JIT...
10
by: Bjorn | last post by:
I'm using interfaces in C++ by declaring classes with only pure virtual methods. If then someone wants to implement the interface they needs to inherit from the class. If the implementing class...
2
by: Mary | last post by:
Hello, I am having a problem with the cl compiler. I have written a C class (RegConnect.c) which uses Win32 API functions such as RegOpenKey, RegCloseKey etc. Initially when I was trying to...
0
by: rollasoc | last post by:
Hi, I seem to be getting a compiler error Internal Compiler Error (0xc0000005 at address 535DB439): likely culprit is 'BIND'. An internal error has occurred in the compiler. To work around...
1
by: Ayende Rahien | last post by:
reparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error (0xc0000005 at address 53168B12): likely culprit is 'BIND'. An internal...
3
by: Mark Rockman | last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error...
4
by: David Sworder | last post by:
Consider the following line of code (it's not important what it does): resp.DocItem=Relations.SelectDocItems_BySearchString(req.SearchPhrase); It turns out that this line is in error. The...
6
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep...
27
by: Dave | last post by:
I'm having a hard time tying to build gcc 4.3.1 on Solaris using the GNU compilers. I then decided to try to use Sun's compiler. The Sun Studio 12 compiler reports the following code, which is in...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.