Opened 18 years ago
Closed 15 years ago
#984 closed defect (fixed)
-lpng without -lm causes test compiles to fail
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Component: | build system |
| Version: | HEAD | Severity: | normal |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Reproduced by developer: | no | Analyzed by developer: | no |
Description
When 'configure' autodetects the PNG library, it adds -lpng to all subsequent test compile/links, but doesn't add -lm, which libpng requires. This makes all test compile/links fail (unresolved reference to pow() from libpng), making 'configure' believe whatever feature it was testing for is not present.
The test link to detect libpng itself does include the -lm, as does the production link of 'mplayer'.
Change History (1)
comment:1 by , 15 years ago
| rep_platform: | PC (x86 with MMX) → All |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Should hopefully be fixed in revision 33885.