Re: F11: Static linking now impossible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Jun 2009, Tom Horsley wrote:

> I'm sure I told it to install all the software development
> package groups, but I just tried this:
>
> tomh> gcc -g -static -o fact /usr/lib/NightView/fact.c
> /usr/lib/NightView/fact.c: In function 'main':
> /usr/lib/NightView/fact.c:29: warning: incompatible implicit declaration of built-in function 'exit'
> /usr/bin/ld: cannot find -lc
> collect2: ld returned 1 exit status
>
> Cannot find -lc? There is no libc.a anymore? Or is gcc's
> search rules busted?

  been there, done that.

# yum install glibc-static

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Linked In:                             http://www.linkedin.com/in/rpjday
Twitter:                                       http://twitter.com/rpjday
========================================================================

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux