Opened 17 years ago
Closed 17 years ago
#1244 closed defect (fixed)
psMatrix.c won't compiled with -Werror
| Reported by: | Michael Wood-Vasey | Owned by: | Michael Wood-Vasey |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | PSLib | Version: | current |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
libtool: compile: cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/sys -I../../src/astro -I../../src/db -I../../src/fft -I../../src/fits -I../../src/imageops -I../../src/jpeg -I../../src/math -I../../src/mathtypes -I../../src/types -D_THREAD_SAFE -I/Volumes/data/PS1/code/ipp-2.8/ipp-2.8.darwin/include/mysql -DHAVE_PSDB -I/Volumes/data/PS1/code/ipp-2.8/ipp-2.8.darwin/include -I/sw/include -I/sw/include -I/sw/include -pipe -O0 -g -Wall -Werror -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L -MT libpslibmath_la-psMatrix.lo -MD -MP -MF .deps/libpslibmath_la-psMatrix.Tpo -c psMatrix.c -fno-common -DPIC -o .libs/libpslibmath_la-psMatrix.o
cc1: warnings being treated as errors
psMatrix.c: In function 'psMatrixGJSolve':
psMatrix.c:528: error: implicit declaration of function 'finite'
{standard input}:2140:non-relocatable subtraction expression, "LC35" minus "L00000000004$pb"
{standard input}:2140:symbol: "LC35" can't be undefined in a subtraction expression
{standard input}:2139:non-relocatable subtraction expression, "LC35" minus "L00000000004$pb"
{standard input}:2139:symbol: "LC35" can't be undefined in a subtraction expression
{standard input}:2041:non-relocatable subtraction expression, "LC34" minus "L00000000004$pb"
{standard input}:2041:symbol: "LC34" can't be undefined in a subtraction expression
{standard input}:2040:non-relocatable subtraction expression, "LC34" minus "L00000000004$pb"
{standard input}:2040:symbol: "LC34" can't be undefined in a subtraction expression
{standard input}:unknown:Undefined local symbol L_p_psError$stub
{standard input}:unknown:Undefined local symbol L_p_psMemDecrRefCounter$stub
{standard input}:unknown:Undefined local symbol L_p_psImageRecycle$stub
{standard input}:unknown:Undefined local symbol L_p_psVectorRecycle$stub
{standard input}:unknown:Undefined local symbol L_gsl_matrix_alloc$stub
{standard input}:unknown:Undefined local symbol L_gsl_linalg_LU_decomp$stub
{standard input}:unknown:Undefined local symbol L_gsl_matrix_free$stub
{standard input}:unknown:Undefined local symbol L_gsl_vector_alloc$stub
{standard input}:unknown:Undefined local symbol L_gsl_linalg_LU_solve$stub
{standard input}:unknown:Undefined local symbol L_gsl_vector_free$stub
{standard input}:unknown:Undefined local symbol L_gsl_linalg_LU_invert$stub
{standard input}:unknown:Undefined local symbol LC34
{standard input}:unknown:Undefined local symbol LC35
{standard input}:unknown:Undefined local symbol L_p_psAbort$stub
{standard input}:unknown:Undefined local symbol L_memcpy$stub
make[3]: * [libpslibmath_la-psMatrix.lo] Error 1
make[2]: * [all-recursive] Error 1
make[1]: * [all] Error 2
make: * [all-recursive] Error 1
problem building psLib : failure in make
Change History (2)
comment:1 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
updated to 24122, compiled, and verified fix.

Changed obsolete macro 'finite' to c99 version 'isfinite'
fixed in r24122