[Android Software/Hacking General [Developers Only]] BMP7777:
I got past the last set and now came up to the dreaded:

frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:59:14: error: 'GpsGeofencingInterface' does not name a type
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'void android::gps_geofence_add_callback(int32_t, int32_t)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:291:19: error: 'GPS_GEOFENCE_OPERATION_SUCCESS' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'void android::gps_geofence_remove_callback(int32_t, int32_t)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:301:19: error: 'GPS_GEOFENCE_OPERATION_SUCCESS' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'void android::gps_geofence_resume_callback(int32_t, int32_t)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:311:19: error: 'GPS_GEOFENCE_OPERATION_SUCCESS' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'void android::gps_geofence_pause_callback(int32_t, int32_t)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:321:19: error: 'GPS_GEOFENCE_OPERATION_SUCCESS' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: At global scope:
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:328:1: error: 'GpsGeofenceCallbacks' does not name a type
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'void android::android_location_GpsLocationProvider_class_init_native(JNIEnv*, jclass)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:387:9: error: 'sGpsGeofencingInterface' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:388:20: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:388:20: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:388:14: error: expected primary-expression before 'const'
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:388:14: error: expected ')' before 'const'
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'jboolean android::android_location_GpsLocationProvider_init(JNIEnv*, jobject)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:416:9: error: 'sGpsGeofencingInterface' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:417:40: error: 'sGpsGeofenceCallbacks' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'jboolean android::android_location_GpsLocationProvider_is_geofence_supported(JNIEnv*, jobject)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:704:9: error: 'sGpsGeofencingInterface' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'jboolean android::android_location_GpsLocationProvider_add_geofence(JNIEnv*, jobject, jint, jdouble, jdouble, jdouble, jint, jint, jint, jint)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:714:9: error: 'sGpsGeofencingInterface' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'jboolean android::android_location_GpsLocationProvider_remove_geofence(JNIEnv*, jobject, jint)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:727:9: error: 'sGpsGeofencingInterface' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'jboolean android::android_location_GpsLocationProvider_pause_geofence(JNIEnv*, jobject, jint)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:738:9: error: 'sGpsGeofencingInterface' was not declared in this scope
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp: In function 'jboolean android::android_location_GpsLocationProvider_resume_geofence(JNIEnv*, jobject, jint, jint)':
frameworks/base/services/jni/com_android_server_location_GpsLocationProvider.cpp:749:9: error: 'sGpsGeofencingInterface' was not declared in this scope
make: *** [/home/bmp7777/beanstalk/out/target/product/m7spr/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/com_android_server_location_GpsLocationProvider.o] Error 1
make: *** Waiting for unfinished jobs....
bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/beanstalk$

I tried to use Meld on the .cpp of com_android_server_location_GpsLocationProvider from this build and my latest of CM10.2, and made a quick change and was running again, but the same error came up again, so obviously just making that particular file the same as a successful CM build is not all there is to it? Has anyone found a solution to this?