[Bug 473046] Review Request: miniupnpc - command line tool to control NAT in UPnP-enabled routers as Linksys, D-Link etc
bugzilla at redhat.com
bugzilla at redhat.com
Sun Nov 30 14:39:24 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=473046
--- Comment #13 from manuel wolfshant <wolfy at nobugconsulting.ro> 2008-11-30 09:39:23 EDT ---
UNless you want to be sure the Americans are very very happy, you can remove
the mv. "licence" is valid English (British English).See
http://www.thefreedictionary.com/LICENCE
Your pseudo fix for the %{_libdir} problem does not work and you still need to
address the problem of Fedora's mandatory compilation flags. Quoting from the
end of the build log:
testigddescparse.c:51: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
gcc minixmlvalid.o minixml.o -o minixmlvalid
gcc testminixml.o minixml.o igd_desc_parse.o -o testminixml
gcc testupnpreplyparse.o minixml.o upnpreplyparse.o -o testupnpreplyparse
gcc testigddescparse.o igd_desc_parse.o minixml.o -o testigddescparse
minixml validation test
./minixmlvalid
14 events
touch validateminixml
ar crs libminiupnpc.a miniwget.o minixml.o igd_desc_parse.o minisoap.o
miniupnpc.o upnpreplyparse.o upnpcommands.o minissdpc.o upnperrors.o
gcc -shared -Wl,-soname,libminiupnpc.so.3 -o libminiupnpc.so miniwget.o
minixml.o igd_desc_parse.o minisoap.o miniupnpc.o
upnpreplyparse.o upnpcommands.o minissdpc.o upnperrors.o
gcc -o upnpc-static upnpc.o libminiupnpc.a
/usr/bin/ld: miniwget.o: relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
miniwget.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libminiupnpc.so] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.jzb5MU (%build)
>From the above you can see that gcc is called without any flags and that
linking fails.
I'll look at the other problems after you solve these two.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Fedora-package-review
mailing list