Re: gcc issue

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

 



Steve wrote, at 02/05/2009 03:55 AM +9:00:
---- Kevin Kofler <kevin.kofler@xxxxxxxxx> wrote:
Steve wrote:
I had tried putting #define __USE_GNU in the code but that didn't make any
difference.
You need to #define _GNU_SOURCE, not __USE_GNU. glibc #undefs all the
__USE_* macros, then #defines them based on the _*_SOURCE macros you used.


...and now I know...
but that still doesn't explain why _GNU_SOURCE is not defined in the dhcp-4.0.0 src rpm.

Note that dhcp-4.0.0-22.fc9 srpm has:
-------------------------------------------------------------
CFLAGS="%{optflags} -fPIC -D_GNU_SOURCE" \
%configure \
   --disable-dhcpv6 \
   --with-srv-lease-file=%{_localstatedir}/lib/dhcpd/dhcpd.leases \
   --with-cli-lease-file=%{_localstatedir}/lib/dhclient/dhclient.leases \
   --with-srv-pid-file=%{_localstatedir}/run/dhcpd.pid \
   --with-cli-pid-file=%{_localstatedir}/run/dhclient.pid \
   --with-relay-pid-file=%{_localstatedir}/run/dhcrelay.pid
-------------------------------------------------------------

Regards,
Mamoru

--
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux