LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2011, 01:19 AM   #1
kajagupt
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
my binary is not created without giving error


Hi All,

I am very new in linux , and executing my package on red hat version 2.6.18-164.el5
and displaying no error but my binary is not created what could be problem ??

make[1]: Leaving directory `/root/kartik/POC_SSI_1/iub_dogw/ipr/common/cspl'
gcc -print-file-name=libgcc.a -g -Wall -Werror -D_GNU_SOURCE -r -o /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/bcpapp -lgcc -lc /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libsched.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libprocm.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libnodebm.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libsm.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libstackm.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libcommon.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libnbap.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/librrc.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libcspl.a /root/kartik/POC_SSI_1/iub_dogw/bcpapp/../bin/x86_64-redhat-linux/bcpapp/libasn1code.a -lpthread -lrt
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/libgcc.a
 
Old 07-14-2011, 10:46 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,775

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
You should not be running make as root or building in the /root directory.

If you read the documentation for the gcc option that you are using it says:
Quote:
`-print-file-name=LIBRARY'
Print the full absolute name of the library file LIBRARY that
would be used when linking--and don't do anything else. With this
option, GCC does not compile or link anything; it just prints the
file name.
and then it printed what you asked it to:
Quote:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/libgcc.a
 
1 members found this post helpful.
Old 07-15-2011, 01:28 PM   #3
kajagupt
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks a lot ,

now i got it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Script is giving me error dhirendrs Programming 8 08-12-2010 06:42 AM
Adept giving error leupi Ubuntu 4 06-20-2008 07:49 AM
GCC compiler giving syntax error before 'double' error dragonmint Programming 2 06-02-2007 02:07 PM
giving no error ankurcse Programming 4 05-24-2006 10:42 AM
Wine giving me a error.. k0ljat Linux - Software 8 06-11-2004 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration