Hi felipemdc,I'm sorry to trouble you again.At last I find the libs path is not correct ,so I copy all the files of lib to the opengltest directory to fix the problem(why the -Fl doesnot work? I am confused) ,but another error shows .please do me a favor!
Assembling android_native_app_glue
ndkopengltest.pas(37,11) Note: Local variable "dummy" not used
ndkopengltest.pas(204,19) Hint: Local variable "engine" does not seem to be initialized
ndkopengltest.pas(194,11) Hint: Local proc "android_main" is not used
ndkopengltest.pas(4,21) Hint: Unit "native_activity" not used in ndkopengltest
Assembling ndkopengltest
Linking /home/hotcyy/lazarus-ccr/bindings/android-ndk/examples/opengltest/android/libs/armeabi/libmain.so
/home/hotcyy/lazarus/fpc/binutils/ld: warning: /home/hotcyy/lazarus-ccr/bindings/android-ndk/examples/opengltest/android/libs/armeabi/link.res contains output sections; did you forget -T?
ndkopengltest.pas(36,1) Error: Util /home/hotcyy/lazarus/fpc/binutils/strip not found, switching to external linking
ndkopengltest.pas(36,1) Fatal: There were 1 errors compiling module, stopping