Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Tuesday, November 18, 2008

Fatal error: Don't know how to make target

Recently the DBAs faced this issue when they were applying TXK Rollup S patch and it was trying to relink:

Undefined first referenced
symbol in file
wfmlrsumpl 
$FND_TOP/lib/libfnd.a(wfmlr.o)
wfmlrgpl 
$FND_TOP/lib/libfnd.a(wfmlr.o)
ld: fatal: Symbol referencing errors. No output written to 

$ALR_TOP/bin/ALPPIM
*** Error code 1
make: Fatal error: Command failed for target 

`$ALR_TOP/bin/ALPPIM'
Done with link of alr executable 'ALPPIM' on Mon Nov 17 14:05:36 EST 2008

Relink of module "ALPPIM" failed.


make: Fatal error: Don't know how to make target 
`$ALR_TOP/bin/ALPPNR'
Done with link of alr executable 'ALPPNR' on Tue Nov 18 22:50:26 EST 2008
Relink of module "ALPPNR" failed.

make: Fatal error: Don't know how to make target 
`$ALR_TOP/bin/ALPPWF'
Done with link of alr executable 'ALPPWF' on Tue Nov 18 22:50:26 EST 2008
Relink of module "ALPPWF" failed

make: Fatal error: Don't know how to make target 
`$FA_TOP/bin/FAGDA'
Done with link of fa executable 'FAGDA' on Tue Nov 18 22:50:31 EST 2008
Relink of module "FAGDA" failed.

make: Fatal error: Don't know how to make target 

`$FA_TOP/bin/FAMPRET'
Done with link of fa executable 'FAMPRET' on Tue Nov 18 22:50:32 EST 2008
Relink of module "FAMPRET" failed.

make: Fatal error: Don't know how to make target 
`$FA_TOP/bin/FAMPSLTFR'
Done with link of fa executable 'FAMPSLTFR' on Tue Nov 18 22:50:32 EST 2008
Relink of module "FAMPSLTFR" failed.

make: Fatal error: Don't know how to make target 
`$FA_TOP/bin/FAMPTFR'
Done with link of fa executable 'FAMPTFR' on Tue Nov 18 22:50:32 EST 2008
Relink of module "FAMPTFR" failed.

make: Fatal error: Don't know how to make target 
`$FA_TOP/bin/FAMRCL'
Done with link of fa executable 'FAMRCL' on Tue Nov 18 22:50:32 EST 2008
Relink of module "FAMRCL" failed.

make: Fatal error: Don't know how to make target 
`$FA_TOP/bin/FAMRST'
Done with link of fa executable 'FAMRST' on Tue Nov 18 22:50:32 EST 2008
Relink of module "FAMRST" failed.

make: Fatal error: Don't know how to make target 
`$FA_TOP/bin/FATAXUP'
Done with link of fa executable 'FATAXUP' on Tue Nov 18 22:50:33 EST 2008
Relink of module "FATAXUP" failed.

$ORACLE_HOME/rdbms/lib/ssbbded.o 
Undefined first referenced
symbol in file
inltev 
$WIP_TOP/lib/libwip.a(wilctv.o)
inltvu 
$WIP_TOP/lib/libwip.a(wilctv.o)
ld: fatal: Symbol referencing errors. No output written to 

$WSM_TOP/bin/WSCMTI
*** Error code 1
make: Fatal error: Command failed for target 

`$WSM_TOP/bin/WSCMTI'

make: Fatal error: Don't know how to make target 
`$WSM_TOP/bin/WSCMTM'
Done with link of wsm executable 'WSCMTM' on Tue Nov 18 22:51:05 EST 2008
Relink of module "WSCMTM" failed.

Following undefined symbol errors were appearing:

make: Fatal error: Don't know how to make target 

Undefined first referenced
symbol in file
inltev 
$WIP_TOP/lib/libwip.a(wilctv.o)
inltvu 

Undefined first referenced
symbol in file
wfmlrsumpl 

$FND_TOP/lib/libfnd.a(wfmlr.o)
wfmlrgpl

When we relinked them with force option, they relinked fine:

adrelink.sh "force=y" "WSM WSCMTI"
adrelink.sh "force=y" "ALR ALPPIM"

The other binaries still failed.  On a hunch we checked the make file used to relink the binaries:

grep FAGDA $FA_TOP/lib/fa.mk
grep WSCMTM $WSM_TOP/lib/wsm.mk

The make files did not have any record of the binaries which were failing relink.  The relink command was unable to relink these binaries because they were not present in make file.

We took a backup of the existing make files and copied higher version of the make files from a different instance:

$ adident Header $FA_TOP/lib/fa.mk.old
fa.mk.old:
$Header fa.mk 115.3 99/07/16 01:53:07 porting ship $

$ adident Header $FA_TOP/lib/fa.mk
fa.mk:
$Header fa.mk 115.9 2002/05/20 03:43:30 pkm ship    $

The new make files had the binaries which were failing relink.

When we relinked again after copying the make files, it went fine.

No comments: