Software :: Compiled GCC But The Result "cannot Find -lgcc_s"

Nov 23, 2010

I want to use GCC 4.1.2 on a SLES 11.0 x86_64 system. SLES 11 comes with GCC 4.3, so I compiled 4.1.2 and `make install`'d myself. When trying to use it, I get:

Code:
# /usr/local/bin/gcc-4.1 hello.c
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
hello.c is simply:

[Code].....

basically, I took SLES' gcc-4.3 ./configure line and removed the prefix & path directives and changed the program suffix. Considering I don't know the use of half those options I'm trying again taking as many defaults as possible.

But I don't know what I am missing. How do I get it so that I don't have to use -L or -static to use my gcc-4.1?

View 3 Replies


ADVERTISEMENT

General :: How To Know If The Command Find Any Result

Oct 21, 2010

#!/bin/shLOOK_FOR="NTLMAuthenticationFilter"for i in `find ./ -name "*jar"`doecho "Looking in $i ..."grepjar -e $LOOK_FOR $idoneI wrote the script above, and try to find if there any file name LOOK_FOR exist in those jar,my quest is: grepjar -e $LOOK_FOR $ihere how can I check if there are any successful result , and output them ?

View 2 Replies View Related

General :: Compiled A Kernel With TUN/Bridge Support But Cannot Find /dev/net/tun?

Jan 20, 2011

I compiled my own kernel with tun/tap and bridge support. Both modules load fine at boot time (I could read that in the dmesg output). Now I want to use it, and the /dev/net/tun node is not there, so my application gives that error. I'm trying to bridge openvpn connections. Is it possible that udevd is not doing his work?

PS: I'm on a WD MyBook World Ed NAS device. It's ARM, so I cross compiled the kernel from my debian linux machine. I also installed debian on the NAS.)

View 1 Replies View Related

Ubuntu :: Error: Could Not Find Expat.h, Check Config.log For Failed Attempts So I Downloaded Te Expat Library Sources I Cross Compiled

Feb 13, 2010

I am getting some error when i compile cross compile "dbus-1.2.20". error Code: checking for XML_ParserCreate_MM in -lexpat... no configure: error: Could not find expat.h, check config.log for failed attempts so i downloaded te expat library sources i cross compiled. But again i am getting same error. I think i have to add "-lexpat" in LDFLAG. But i dont know how to do that.

View 1 Replies View Related

Programming :: Compiled, But Can't Run (fpc)/

Apr 25, 2010

How come the program is compiled without errors but I can't run it?After writing

Code:
./program
blank line appears only.

View 5 Replies View Related

Debian Programming :: Generate SQL Result Into XML

Dec 2, 2014

How do I generate sql result into xml ? Tried this way (shown below), but it generates all data into single column.

Code: Select allgenerate_xml()
{
        f1=_tmp1
        f2=_tmp2
        cat $SQL_QUERY_OUT |sed -e 's/^"//g;s/"$//g;s/","/|/g'|tr '|' ' ' > $f1
        [ -e $SQL_QUERY_OUT ] && rm $SQL_QUERY_OUT

[code]....

View 2 Replies View Related

General :: Rpm -qa Doesn't Return A Result

Jul 3, 2010

I have an Ubuntu Linux on a VMWare running and I've installed RPM Package Manager. However when I try to query all packages using the rpm -qa command, I don't get any results returned.

View 2 Replies View Related

Ubuntu :: Redirect The Result To Another Tool?

Jul 6, 2010

After I use the 'find' command line tool to find a file, how can I redirect the result to another tool?

Example:
> find . -name blah.txt
Result: ./SomeDirectory/blah.txt

I would like to send that result to vim so I wouldn't have to type out "vim ./SomeDirectory/blah.txt"

View 7 Replies View Related

Software :: Cannot Obtain Any Result When Run Avgstats.awk

Mar 25, 2011

any1 have simple program which run avgstats.awk succuessfully? coz i cannot obtain any result when i run avgstats.awk. it shows

####################################################################
# Warning: no packets were received, simulation may be too short #
####################################################################
flowID: 0
flowType:
srcNode1: 0
srcNode2: 0

[Code].....

View 13 Replies View Related

Programming :: Get Different Result Of Matrix Op On Hw Rtw Book?

Jul 31, 2011

Dear Linux/c++/g++ programmers: the run result on my system, ubuntuLinux10.04(kernel2.6.35-25), gcc4.5.2 is not what book predict

source code
http://examples.oreilly.com/9780596007614/
11-28
11-29
11-24
#include "matrix.hpp"

[Code]...

View 13 Replies View Related

Programming :: Cut The String In The Result Generated By AWK?

Aug 5, 2010

I wanted to get the ORACLE_HOME of the listener's running on the server.I have been using the following to get the reult. /opt/oracle/admin/PHYPE/bdump> ps -ef|grep /bin/tnslsnr|grep -v grep|awk '{print $9}'

Result is as follows

/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/9.2.0/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr
/opt/oracle/product/9.2.0/bin/tnslsnr
/opt/oracle/product/10.2/bin/tnslsnr

Now i wanted to cut the /bin/tnslsnr part and the remaining should write to the file.

View 4 Replies View Related

Programming :: Setting The Final $result

May 18, 2010

I have a variable (call it $valAS) that gets calculated . Also, i have a files Bassu3. if $valAS= 45368 (2nd part of 2nd line in Bassu3) after calculation, then $result=45368, but if $valAS != 45368 then $result= $valAS

Bassu3:

Quote:

name.srv
name 45368 (value always changing)
name 99999
name 88888

how can i do this in Bash?

View 14 Replies View Related

Programming :: Specific Result Of Awk Script

Jan 24, 2010

I'm using the following awk command to find out the users home directory from /etc/passwd file.#grep jeesun /etc/passwd |awk 'BEGIN {FS=":"};{print $6}'But problem is when there are two name like "jeesun" and "jeesunadm" exist the script shows both result not specific one.

View 3 Replies View Related

Fedora :: C++ Programs In Does Not Get Compiled?

Mar 13, 2010

i wrote many programs in c++ in fedora.....but no one gets compiled ...error is shown as libraries in not included....where to save programs and how to compile.

View 5 Replies View Related

OpenSUSE :: Can't The Module Be Compiled?

Feb 21, 2011

I installed the kernel source on Linux 11.3 with Yast2/pattern/kernel development. The tutorial gaves the command:

$ make -C /usr/src/kernel-source-2.6.8 M=pwd modules

But that command does not work. Linux complaints: no such file.

I check the path and find they like:
/usr/src/linux/
/usr/src/linux-2.6.34.7-0.7/
/usr/src/linux-2.6.34.7-0.7-obj/

[Code]...

View 9 Replies View Related

Ubuntu :: Can't Run Compiled Code

Jan 12, 2010

I am running Ubuntu 9.10. If I compile a 'hello world' C file using the terminal, something like:

gcc hello.c -o hello

the compile seems to work fine, and the executable file 'hello' appears in the directory.

However, when I try to run 'hello' from the terminal, I get something like the following:

No command 'hello' found, did you mean: .......

If I run dir, though, I can see 'hello' is there. I also can't run code I compiled when I was running 9.04. The OS again can't seem to find the executable file.

Everything worked fine with version 9.04. I could compile and run without any problems. Is there some setting I have to change to allow the OS to run my code?

View 3 Replies View Related

Red Hat :: Error: Cannot Run C Compiled Programs?

Apr 5, 2010

I am compiling gcc 3.4.6 from source in RHEL 5 (this has gcc 4.1.2 )I downloed all dependencies and started ./configure.It went fine.When I do make I get following error that cannot run C compiled programs.

checking for C compiler default output file name... b.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.

[code]...

View 2 Replies View Related

Slackware :: 13.1 RC1 Still Compiled For 486 Support?

May 16, 2010

I read this on Patrick's twitter: Considering compiling future 32-bit x86 Slackware packages for i686 and finally leaving i486 and i586 support behind. Would the devs mind sharing why the change hasn't been made? I'm guessing there must be a lot of Slackware users with 15-20 year old computers that want to run the latest software.

View 14 Replies View Related

Fedora Security :: Open The Programe But No Result Come Out

Jun 22, 2009

I have installed the rkhunter , but it does not work i kept on trying to open the programe but no result come out

View 2 Replies View Related

Fedora :: Add / Remove Package Do Not Have Result In Categories

Oct 5, 2010

In Add/Remove package utility, after click the categories, like Program, office, there is no result.Is it correct? Or how to fix it?

View 2 Replies View Related

OpenSUSE :: Can't Run Firefox - Running Directly With Exactly The Same Result

Sep 28, 2010

I'm running 11.3 with KDE. I'm not sure when this happened, but I can no longer run firefox. If I click on the firefox icon, the bouncing icon appears, runs for a minute and then disappears. If I actually type in /usr/bin/firefox, nothing happens, and I get the prompt back in a fraction of a second.

I note that /usr/bin/firefox is a softlink to /usr/lib/firefox/firefox.sh which apparently runs the _actual_ executable: /usr/lib/firefox/firefox. I tried running that directly with exactly the same result.

I can run firefox normally if logged in as root. I can also run it via /usr/bin/firefox and /usr/lib/firefox/firefox. I tried uninstalling, reinstalling firefox. No change. I'm running 3.10.xxxx and the problem _may_ have started with a recent update to 3.10 , but I can't be certain. I downloaded firefox 4.0 beta and it works, but it doesn't support many addons (like flash), so it's not very useful to me.

View 8 Replies View Related

General :: Use Command To Open First Search Result With Vi?

Nov 10, 2010

Every time I need to find a file and then open it, I have to use :
find ./ -name **.properties. , then copy the result, and then vi "paste the result here" .
If I need to use a mouse, it can be a little trouble. So is there any better way to do this?

View 6 Replies View Related

General :: Why Does Du -sl Show Different Sizes For Source And Result Of Cp -rl?

Jul 14, 2011

I have used cp -rl to copy a folder. When measuring the size of the source and of the result of the copy du -sl returns slightly different sizes, even though diff confirms that their content are identical.Both folders reside on the same hard drive, no modifications to any of them have been done between the copy and the measure. I found nothing in the documentation of du and cp which could explain the difference.

View 1 Replies View Related

Ubuntu :: Cat/grep, Excluding Phrase From Result?

Feb 2, 2010

I would like to take a file looking like...

uid=user1,ou=People,dc=company,dc=com
uid=user2,ou=People,dc=company,dc=com
uid=user3,ou=People,dc=company,dc=com

[Code]...

View 5 Replies View Related

Ubuntu One :: Got Empty Result For Devices List?

May 11, 2010

I get ubuntu 10.04 LTS installed on my PC and laptop , and I tried ubuntu one.It worked and I want to have a test, so I removed the two devices that already subscribed to my ubuntu one account, after that, I found I can't get them subscribed back.Everytime I start ubuntu one preference , I'll get the error message: got empty result for devices list.How can I add my two devices back to my ubuntu one account (I googled a lot and found that someone pointed that delete the ubuntu one's key will work, so if this is the right solution, how to delete it?

View 5 Replies View Related

Ubuntu Networking :: Have Been Trying To Use NFS To Share Files With No Result

Oct 15, 2010

Have been using Ubuntu for 18 months now - its great.Just added a second PC - both hard wired to a wireless router.Have been trying to use NFS to share files with no result.I want to share all files in "home" on PC called "Dimension".

View 4 Replies View Related

Ubuntu :: How To View The Result Of Last Clamscan Scan

Jan 2, 2011

I scanned pen drive using clamscan and I closed the terminal after scanning without reading the result. Now one of my folder is missing in pen drive. I wanted to know if clamav deleted it. So I want to view the last scan result.

View 3 Replies View Related

Ubuntu Servers :: Result From Mailgraph And Pflogsumm Different?

Jun 7, 2011

I have installed postfix with amavisd, spamassassin, and clamav on ubuntu 10.04 server, all works as well. But, when I test to send 2 messages from outside to my server, the report from mailgraph and pflogsumm is different. To avoid pflogsumm count twice from amavis, I have combine pflogsumm with preflog. And the result like this .

Quote:
root@mail:/home/venol# /usr/sbin/prepflog.pl -d today /var/log/mail.log | pflogsumm | more
Grand Totals
messages
2 received
2 delivered
Host/Domain Summary: Message Delivery

[Code]...

View 2 Replies View Related

General :: Store Result Of Wc -l Command In Variable?

Apr 19, 2011

I want to store the result of wc -l as a variable so I can use it later in my script...so far unsuccessfully.

I have tried this:

set `echo awk '{ print $1, $6}' | wc -l` | echo $1

but it is far from working.

View 11 Replies View Related

Security :: Launch The Package To Get A Test Result?

Jan 15, 2011

i have fedora distribution running in my virtual machine. I installed sectool- .9.5-1.fc13.i686.rpm & sectool-gui-0.9.5-1.fc13.i686.rpm (the gui of the tool)

Then i modified the file /etc/selinux/conf to change the selinux from enforce to disabled (so the test can be run) the prob now, each time i try to lunch the package to get a test result... it takes so long time without result even if i choose 1 test only as u can see in the attached file. I've been waiting for more than 1 hour with no result

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved