Kbase P127529: Building _progres fails with an error multiple definition of `PRODSP'
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/12/2007 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.X
Linux Intel
SYMPTOM(s):
Building _progres fails with an error multiple definition of `PRODSP'
build_rx.sh on Linux fails with
./hlprodsp.o(.text+0x0): In function `PRODSP':
: multiple definition of `PRODSP'
./hlprodsp.o(.text+0x0): first defined here
Unable to probuild customer _progres on Linux
CAUSE:
hlprodsp.o is being referenced 2x in the build_rx.sh
Firstly as a part of HLC_OBJS (which is used in the link script)
HLC_OBJS=${HLC_OBJS:=./hlprodsp.o}
Secondly as a direct link to an .o file
/usr/bin/g++ \
-o \
${IMAGE} \
./hlprodsp.o \
...
FIX:
Remove the 2nd reference to hlprodsp.o in the link script and keep it only as a part of HLC_OBJS definition.