From: "Paolo Ciarrocchi" <ciarrocchi@linuxmail.org>
To: greg@ulima.unil.ch, rusty@rustcorp.com.au
Cc: linux-kernel@vger.kernel.org
Subject: Re: Not able to compile modutils-2.4.21-7.src.rpm
Date: Sat, 14 Dec 2002 20:05:26 +0800 [thread overview]
Message-ID: <20021214120526.6020.qmail@linuxmail.org> (raw)
From: Rusty Russell <rusty@rustcorp.com.au>
[...]
> > /usr/bin/ld: cannot find -lc
> > collect2: ld returned 1 exit status
> > make[1]: *** [insmod.static] Error 1
> > make[1]: Leaving directory `/usr/src/RPM/BUILD/modutils-2.4.21/insmod'
> > make: *** [all] Error 2
> > error: Bad exit status from /var/tmp/rpm-tmp.76637 (%build)
>
>It looks like you don't have the ability to make static binaries.
>Does this fail for you, too?
>
> echo 'int main(){return 0;}' > /tmp/foo.c && gcc -static -o foo foo.c
>
>Perhaps there is some RH devel package you need to install to allow
>this to work?
Yes, you are correct and I am a stupid guy ;-)
Gregoire told me what the package is,
glibc-static-devel...
Ok, now rpm --rebuild --target i686 blabla.src.rpm
works perfectly.
No problem with modules, thank you very much!
Paolo
From: Gregoire Favre <greg@ulima.unil.ch>
[...]
> > /usr/bin/ld: cannot find -lc
> > collect2: ld returned 1 exit status
> > make[1]: *** [insmod.static] Error 1
>
> Just install glibc-static-devel...
Ahh... you are correct! Now it compiles,
sorry for the silly report and thank you!
Paolo
--
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr
Powered by Outblaze
next reply other threads:[~2002-12-14 11:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-14 12:05 Paolo Ciarrocchi [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-12-14 0:09 Not able to compile modutils-2.4.21-7.src.rpm Paolo Ciarrocchi
2002-12-14 1:27 ` Rusty Russell
2002-12-14 21:34 ` Andrew McGregor
2002-12-14 11:13 ` Gregoire Favre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021214120526.6020.qmail@linuxmail.org \
--to=ciarrocchi@linuxmail.org \
--cc=greg@ulima.unil.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox