Chop out the code that handles "additional _E32Dll entry point after last ordinal position". I can't agree with that as how the DLL is supposed to work, and gives errors for me. Maybe the scripts to re-generate the jump tables have not been tried recently so its not a problem that's been hit by others.
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
PRJ_PLATFORMS
// None
PRJ_EXPORTS
// None
PRJ_EXTENSIONS
start extension graphics/gen_khronos_cpp_from_hdr
option SOURCES $(EXTENSION_ROOT)/../../include/GLES2/gl2.h
option TARGET $(TO_ROOT)/epoc32/build/generatedcpp/openglesheaders/autogenerated_gles2_stub.cpp
end
PRJ_MMPFILES
gles2_stub.mmp
PRJ_TESTMMPFILES
// None