Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 231805 - cflags with -lcrypto is not correct in spec file, should be in ldflags
Summary: cflags with -lcrypto is not correct in spec file, should be in ldflags
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: net-snmp
Version: 5
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Radek Vokal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-12 06:18 UTC by Mark Atwood
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 5.4-13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-03-12 15:14:42 UTC


Attachments (Terms of Use)

Description Mark Atwood 2007-03-12 06:18:11 UTC
Description of problem:

In the net-snmp.spec file, there is %configure --with-cflags="$RPM_OPT_FLAGS
-lcrypto".  Having -lcrypto be part of cflags puts -lcrypto on the output of 
"net-snmp-config --base-cflags", which causes an annoying little compile warning
while developing and compiling a snmp subagent.

The "-lcrypto" should be in the next line of the .spec file, in "--with-ldflags"
 -l is a linker option, not a compiler option.


Version-Release number of selected component (if applicable):

5.3-4.2

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Radek Vokal 2007-03-12 15:14:42 UTC
Package rebuilt with correct flags.


Note You need to log in before you can comment on or make changes to this bug.