IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 18 years ago

Closed 18 years ago

#1061 closed enhancement (worksforme)

ipp-2.4-cr0: Why warning re. p_pmSubtractionSolution{Background,Norm,Coeff}, p_pmSubtractionCalculatePolynomial not defined?

Reported by: Michael Wood-Vasey Owned by: Paul Price
Priority: high Milestone:
Component: imcombine Version: unspecified
Severity: minor Keywords:
Cc: jester@…

Description

Compiling ipp-2.4-cr-0

Where does psModules/imcombine complain that p_pmSubtraction{Background,Norm,Coeff}, p_pmSubtractionCalculatePolynomial aren't defined? They are of course right there in

src/imcombine/pmSubtractionEquation.c


psbuild -start psModules

[...]

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/extras -I../../src/config -I../../src/concepts -I../../src/camera -I../../src/astrom -I../../src/detrend -I../../src/imcombine -I../../src/objects -I/Volumes/data/PS1/code/ipp-2.4.darwin/include -I/usr/X11/include -D_THREAD_SAFE -DHAVE_PSDB -I/Volumes/data/PS1/code/ipp-2.4.darwin/include/pslib -I/Volumes/data/PS1/code/ipp-2.4.darwin/include/mysql -I/scisoft/gsl-1.7/include -I/Volumes/data/PS1/code/ipp-2.4.darwin/include -pipe -O0 -g -Wall -Werror -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L -MT libpsmodulesimcombine_la-pmSubtraction.lo -MD -MP -MF .deps/libpsmodulesimcombine_la-pmSubtraction.Tpo -c pmSubtraction.c -fno-common -DPIC -o .libs/libpsmodulesimcombine_la-pmSubtraction.o

cc1: warnings being treated as errors
pmSubtractionEquation.h:44: warning: inline function 'p_pmSubtractionSolutionBackground' declared but never defined
pmSubtractionEquation.h:39: warning: inline function 'p_pmSubtractionSolutionNorm' declared but never defined
pmSubtractionEquation.h:35: warning: inline function 'p_pmSubtractionSolutionCoeff' declared but never defined
pmSubtractionEquation.h:28: warning: inline function 'p_pmSubtractionCalculatePolynomial' declared but never defined
make[3]: * [libpsmodulesimcombine_la-pmSubtraction.lo] Error 1
make[2]:
* [all-recursive] Error 1
make[1]: * [all] Error 2
make:
* [all-recursive] Error 1
problem building psModules : failure in make



[wwoodvas@serenity imcombine] which cc
/usr/bin/cc
[wwoodvas@serenity imcombine] cc --version
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Change History (4)

comment:1 by Michael Wood-Vasey, 18 years ago

Same thing happens in

psphot

Disabling -Werror similarly resulted in completing compilation, but I'm just a a touch worried that something is missing in the libraries now.

comment:2 by jester@…, 18 years ago

Cc: jester@… added
Summary: Why warning re. p_pmSubtractionSolution{Background,Norm,Coeff}, p_pmSubtractionCalculatePolynomial not defined?ipp-2.4-cr0: Why warning re. p_pmSubtractionSolution{Background,Norm,Coeff}, p_pmSubtractionCalculatePolynomial not defined?

comment:3 by Michael Wood-Vasey, 18 years ago

And

psastro
psStats
ppConfigDump
ppImage
ppNorm
ppMerge
dvotools
pswarp
ppArith
ppStack
ppSub
ppSim
ippTools

(I'm sure you can actually figure out exactly what this list is pretty easily)

Hmmm... Is this just an irritation or is something wrong in my ipp libraries?

comment:4 by jester@…, 18 years ago

Resolution: worksforme
Status: newclosed

Works for me, Michael, without fiddling with -Werror flags (that I know of). Did you -rebuild? How did you manage to build 2.4 after all? Was -Werror the only trick?

Note: See TracTickets for help on using tickets.