473,396 Members | 1,683 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,396 software developers and data experts.

ICC using -cxxlib-gcc results in - /usr/lib/crtbeginS.o: No such file --error

CoL
Hi All,

I am compiling my c code with ICC 8.0 compiler with -cxxlib-gcc
option...But this results in
following error..

/usr/lib/crtbeginS.o : No such file: No such file or directory

Though I am including the Path for crtbeginS.o .

Code snippet--

/usr/local/packages/icc_remote/8.0.058/bin/icc -shared -Wl,-E -
i_dynamic -L/usr/lib/gcc/i386-redhat-linux/3.4.5 -cxxlib-gcc -gcc-
version=345 -o mylib.so file1.0 file2.o -lpthread -lm -lc

ld: /usr/lib/crtbeginS.o: No such file: No such file or directory
gmake: *** [mylib.so] Error 1

-L/usr/lib/gcc/i386-redhat-linux/3.4.5 contains the .o file.

~Regards
COL

Aug 16 '07 #1
2 2617
CoL <ap***********@gmail.comwrote:
I am compiling my c code with ICC 8.0 compiler with -cxxlib-gcc
option...But this results in
following error..

/usr/lib/crtbeginS.o : No such file: No such file or directory
This is an error specific to ICC. It possibly means that you have
installed ICC badly or incompletely, but could also mean that you are
calling it the wrong way. Either way, you should ask in a newsgroup that
handles ICC, or possibly (since I can't at a glance find a newsgroup
with that topic) in a mailing list or *shudder* web forum with that
topic.

Richard
Aug 16 '07 #2
CoL wrote:
Hi All,

I am compiling my c code with ICC 8.0 compiler with -cxxlib-gcc
option...But this results in
following error..

/usr/lib/crtbeginS.o : No such file: No such file or directory

Though I am including the Path for crtbeginS.o .

Code snippet--

/usr/local/packages/icc_remote/8.0.058/bin/icc -shared -Wl,-E -
i_dynamic -L/usr/lib/gcc/i386-redhat-linux/3.4.5 -cxxlib-gcc -gcc-
version=345 -o mylib.so file1.0 file2.o -lpthread -lm -lc

ld: /usr/lib/crtbeginS.o: No such file: No such file or directory
gmake: *** [mylib.so] Error 1

-L/usr/lib/gcc/i386-redhat-linux/3.4.5 contains the .o file.
In that discontinued version of icc, the gcc paths were taken from the
gcc which was active when icc was installed. If your gcc installation
changed since, you would have to re-install. The fact that you are
specifying paths here, and apparently attempting to override the
compiler's own install-time choice of libraries, indicates that you
aren't using the compiler as intended. No doubt, many here would find
objectionable a post such as this which depends on 2 or more specific
compilers, as well as somewhat esoteric linker options not even handled
by a C compiler.
Aug 17 '07 #3

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

Similar topics

0
by: piyushc | last post by:
Hi, I am having problem creating new project using VS.Net 2003. Whenever I am trying to create new project (any type) it shows error message "Error writing the project file. Error loading...
2
by: SoSaucily | last post by:
I am getting the 'partially uploaded file' error with uploads over about 4k-5k. $_FILE = 3. Rackin my brain on this one, any help appreciated. Php.ini - upload_max_filesize=2M -...
0
by: Neil Sargent | last post by:
I have a generic code library, developed as an MDA and distributed as an MDE. It is developed using my system workgroup file. I have a number of applications which use the code library. One of...
0
by: Frank | last post by:
I am attempting to convert an asp file to a asp.net file using C#. The original file has an ActiveX control which is contained in a cab file. The cab file contains the .ocx file which connects...
0
by: El | last post by:
Users on the network with read-only access are recieving this error (Could Not Lock File Error 3050) when trying to open the database when another user is currently using the database. Any idea...
0
by: Col | last post by:
Hi All, I am compiling my c++ code with ICC 8.0 compiler with -cxxlib-gcc option...But this results in following error.. /usr/lib/crtbeginS.o : No such file: No such file or directory ...
7
by: Medvedev | last post by:
when i try to read the first byte from an EXE file it's give different results code: FILE *me,*u; char buf_me; char buf_u; me= fopen(argv,"rb"); u= fopen(argv,"rb+");
0
by: =?Utf-8?B?eHl6X2phdA==?= | last post by:
I have a winodws service which sends email using Domino. The service is installed using System Account but it is not able to send emails and gives following error - Error Message: Notes error:...
0
by: amuven | last post by:
Hi All, I have created xls using pyExcelerator. when i tried to open that xls sheet i'm getting this error message "File error: data may have been lost " , Please some one help me how to rectify...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.