Trying to do an ARMI build of a dll, but get an error as follows:-

Y:\Matience\group>perl -S makedef.pl -Deffile "..\..\Symbian\6.0\nokiacpp\EPOC32\BUILD\MATIENCE\ENGINE\MATIENCEENG\ARMI\UREL\MATIENCEENG.inf" -Frzfile
"\MATIENCE\BMARM\MATIENCEENGU.DEF" "..\..\Symbian\6.0\nokiacpp\EPOC32\BUILD\MATIENCE\ENGINE\MATIENCEENG\ARMI\MATIENCEENG.def"
\Symbian\6.0\nokiacpp\EPOC32\BUILD\MATIENCE\ENGINE\MATIENCEENG\ARMI\UREL\MATIENCEENG.inf(3) : DEFFILE ERROR: Incorrect EXPORTS statement syntax

am doing the usual abld build armi urel, and am targeting Nokia9210. Any ideas what might be causing this error? Everything builds fine as usual when doing a WINS build.

al

contents of .def file

EXPORTS
??0CMatienceEng@@QAE@ABVTDesC16@@@Z @ 1 NONAME ; public: __thiscall CMatienceEng::CMatienceEng(class TDesC16 const &amp
??1CMatienceEng@@QAE@XZ @ 2 NONAME ; public: __thiscall CMatienceEng::~CMatienceEng(void)
?AddCoord@CMatienceEng@@QAEXHHH@Z @ 3 NONAME ; public: void __thiscall CMatienceEng::AddCoord(int,int,int)
?AddHighScore@CMatienceEng@@QAEXABVTDesC16@@H@Z @ 4 NONAME ; public: void __thiscall CMatienceEng::AddHighScore(class TDesC16 const &,int)
?AddToUndo@CMatienceEng@@QAEXEEEEEEEE@Z @ 5 NONAME ; public: void __thiscall CMatienceEng::AddToUndo(unsigned char,unsigned char,unsigned char,unsigned char,unsigned char,unsigned char,unsigned char,unsigned char)
?ChangeLayout@CMatienceEng@@QAE?AVTUid@@ABVTDesC16@@@Z @ 6 NONAME ; public: class TUid __thiscall CMatienceEng::ChangeLayout(class TDesC16 const &amp
?CheckBoardWin@CMatienceEng@@QAEHXZ @ 7 NONAME ; public: int __thiscall CMatienceEng::CheckBoardWin(void)
?CheckForPair@CMatienceEng@@QAEHEE@Z @ 8 NONAME ; public: int __thiscall CMatienceEng::CheckForPair(unsigned char,unsigned char)
?CheckHighScore@CMatienceEng@@QAEHH@Z @ 9 NONAME ; public: int __thiscall CMatienceEng::CheckHighScore(int)
?CheckPieceClear@CMatienceEng@@QAEHHHH@Z @ 10 NONAME ; public: int __thiscall CMatienceEng::CheckPieceClear(int,int,int)
?CheckPieceCovered@CMatienceEng@@QAEHHHH@Z @ 11 NONAME ; public: int __thiscall CMatienceEng::CheckPieceCovered(int,int,int)
?CheckPieceFree@CMatienceEng@@QAEHHHH@Z @ 12 NONAME ; public: int __thiscall CMatienceEng::CheckPieceFree(int,int,int)
?CheckPieceHidden@CMatienceEng@@QAEHHHH@Z @ 13 NONAME ; public: int __thiscall CMatienceEng::CheckPieceHidden(int,int,int)
?ClearCoords@CMatienceEng@@QAEXXZ @ 14 NONAME ; public: void __thiscall CMatienceEng::ClearCoords(void)
?ClearPieces@CMatienceEng@@QAEXXZ @ 15 NONAME ; public: void __thiscall CMatienceEng::ClearPieces(void)
?ClearUndo@CMatienceEng@@QAEXXZ @ 16 NONAME ; public: void __thiscall CMatienceEng::ClearUndo(void)
?CountMovesLeft@CMatienceEng@@QAEEXZ @ 17 NONAME ; public: unsigned char __thiscall CMatienceEng::CountMovesLeft(void)
?DeleteLayout@CMatienceEng@@QAEXABVTDesC16@@@Z @ 18 NONAME ; public: void __thiscall CMatienceEng:eleteLayout(class TDesC16 const &amp
?DoesLayoutExist@CMatienceEng@@QAEHABVTDesC16@@@Z @ 19 NONAME ; public: int __thiscall CMatienceEng:oesLayoutExist(class TDesC16 const &amp
?E32Dll@@YAHW4TDllReason@@@Z @ 20 NONAME ; int __cdecl E32Dll(enum TDllReason)
?ExportLayout@CMatienceEng@@QAEHABVTDesC16@@@Z @ 21 NONAME ; public: int __thiscall CMatienceEng::ExportLayout(class TDesC16 const &amp
?ExternalizeL@CMatienceEng@@QBEXAAVRWriteStream@@@Z @ 22 NONAME ; public: void __thiscall CMatienceEng::ExternalizeL(class RWriteStream &ampconst
?GetAroundPiece@CMatienceEng@@QAE?AVTPiece@@HHH@Z @ 23 NONAME ; public: class TPiece __thiscall CMatienceEng::GetAroundPiece(int,int,int)
?GetCoord@CMatienceEng@@QAE?AVTCoord@@H@Z @ 24 NONAME ; public: class TCoord __thiscall CMatienceEng::GetCoord(int)
?GetHighScore@CMatienceEng@@QAEHHPAVHBufC16@@@Z @ 25 NONAME ; public: int __thiscall CMatienceEng::GetHighScore(int,class HBufC16 *)
?GetLayoutAuthor@CMatienceEng@@QAEPAVHBufC16@@XZ @ 26 NONAME ; public: class HBufC16 * __thiscall CMatienceEng::GetLayoutAuthor(void)
?GetLayoutListCount@CMatienceEng@@QAEHXZ @ 27 NONAME ; public: int __thiscall CMatienceEng::GetLayoutListCount(void)
?GetLayoutListName@CMatienceEng@@QAEPAVHBufC16@@H@Z @ 28 NONAME ; public: class HBufC16 * __thiscall CMatienceEng::GetLayoutListName(int)
?GetLayoutName@CMatienceEng@@QAEPAVHBufC16@@XZ @ 29 NONAME ; public: class HBufC16 * __thiscall CMatienceEng::GetLayoutName(void)
?GetOwner@CMatienceEng@@QAEPAVHBufC16@@XZ @ 30 NONAME ; public: class HBufC16 * __thiscall CMatienceEng::GetOwner(void)
?GetPiece@CMatienceEng@@QAE?AVTPiece@@HHH@Z @ 31 NONAME ; public: class TPiece __thiscall CMatienceEng::GetPiece(int,int,int)
?GetRandomPair@CMatienceEng@@QAEHAAE00000@Z @ 32 NONAME ; public: int __thiscall CMatienceEng::GetRandomPair(unsigned char &,unsigned char &,unsigned char &,unsigned char &,unsigned char &,unsigned char &amp
?GetSerial@CMatienceEng@@QAEPAVHBufC16@@XZ @ 33 NONAME ; public: class HBufC16 * __thiscall CMatienceEng::GetSerial(void)
?ImportLayout@CMatienceEng@@QAEPAVHBufC16@@ABVTDesC16@@@Z @ 34 NONAME ; public: class HBufC16 * __thiscall CMatienceEng::ImportLayout(class TDesC16 const &amp
?InternalizeL@CMatienceEng@@QAEXAAVRReadStream@@@Z @ 35 NONAME ; public: void __thiscall CMatienceEng::InternalizeL(class RReadStream &amp
?IsOddPiece@CMatienceEng@@QAEHHHH@Z @ 36 NONAME ; public: int __thiscall CMatienceEng::IsOddPiece(int,int,int)
?IsUndoEmpty@CMatienceEng@@QAEHXZ @ 37 NONAME ; public: int __thiscall CMatienceEng::IsUndoEmpty(void)
?IsValid@CMatienceEng@@QAEHXZ @ 38 NONAME ; public: int __thiscall CMatienceEng::IsValid(void)
?LayoutEditBoard@CMatienceEng@@QAEXPAVCLayout@@@Z @ 39 NONAME ; public: void __thiscall CMatienceEng::LayoutEditBoard(class CLayout *)
?LayoutPlayBoard@CMatienceEng@@QAEXPAVCLayout@@@Z @ 40 NONAME ; public: void __thiscall CMatienceEng::LayoutPlayBoard(class CLayout *)
?LoadHighScore@CMatienceEng@@QAEXXZ @ 41 NONAME ; public: void __thiscall CMatienceEng::LoadHighScore(void)
?LoadLayout@CMatienceEng@@QAE?AVTUid@@ABVTDesC16@@PAVCLayout@@@Z @ 42 NONAME ; public: class TUid __thiscall CMatienceEng::LoadLayout(class TDesC16 const &,class CLayout *)
?MarkPiecesClean@CMatienceEng@@QAEXHH@Z @ 43 NONAME ; public: void __thiscall CMatienceEng::MarkPiecesClean(int,int)
?MarkPiecesDirty@CMatienceEng@@QAEXHH@Z @ 44 NONAME ; public: void __thiscall CMatienceEng::MarkPiecesDirty(int,int)
?MoveLayout@CMatienceEng@@QAEXHH@Z @ 45 NONAME ; public: void __thiscall CMatienceEng::MoveLayout(int,int)
?NewGame@CMatienceEng@@QAEXXZ @ 46 NONAME ; public: void __thiscall CMatienceEng::NewGame(void)
?RemoveCoord@CMatienceEng@@QAEXHHH@Z @ 47 NONAME ; public: void __thiscall CMatienceEng::RemoveCoord(int,int,int)
?RemovePiece@CMatienceEng@@QAEXHHH@Z @ 48 NONAME ; public: void __thiscall CMatienceEng::RemovePiece(int,int,int)
?Reset@CMatienceEng@@QAEXXZ @ 49 NONAME ; public: void __thiscall CMatienceEng::Reset(void)
?ResizeLayout@CMatienceEng@@QAEXHHH@Z @ 50 NONAME ; public: void __thiscall CMatienceEng::ResizeLayout(int,int,int)
?SaveHighScore@CMatienceEng@@QAEXXZ @ 51 NONAME ; public: void __thiscall CMatienceEng::SaveHighScore(void)
?SaveLayout@CMatienceEng@@QAEHXZ @ 52 NONAME ; public: int __thiscall CMatienceEng::SaveLayout(void)
?SetLayoutAuthor@CMatienceEng@@QAEXABVTDesC16@@@Z @ 53 NONAME ; public: void __thiscall CMatienceEng::SetLayoutAuthor(class TDesC16 const &amp
?SetLayoutName@CMatienceEng@@QAEXABVTDesC16@@@Z @ 54 NONAME ; public: void __thiscall CMatienceEng::SetLayoutName(class TDesC16 const &amp
?SetOwner@CMatienceEng@@QAEXABVTDesC16@@@Z @ 55 NONAME ; public: void __thiscall CMatienceEng::SetOwner(class TDesC16 const &amp
?SetPiece@CMatienceEng@@QAEXHHHH@Z @ 56 NONAME ; public: void __thiscall CMatienceEng::SetPiece(int,int,int,int)
?SetSerial@CMatienceEng@@QAEXABVTDesC16@@@Z @ 57 NONAME ; public: void __thiscall CMatienceEng::SetSerial(class TDesC16 const &amp
?TrimLayout@CMatienceEng@@QAEXXZ @ 58 NONAME ; public: void __thiscall CMatienceEng::TrimLayout(void)
?UndoPair@CMatienceEng@@QAEHAAE00000@Z @ 59 NONAME ; public: int __thiscall CMatienceEng::UndoPair(unsigned char &,unsigned char &,unsigned char &,unsigned char &,unsigned char &,unsigned char &amp
?UpdateMostRecent@CMatienceEng@@QAEXXZ @ 60 NONAME ; public: void __thiscall CMatienceEng::UpdateMostRecent(void)