How do I build a PPAPI plugin for Chromium on Linux?
For example, I want to build the stub example provided by the project. http://src.chromium.org/viewvc/chrome/trunk/src/ppapi/examples/stub/stub.cc?view=markup
So far I have the following Makefile
libexample.so.1.0.1:example.o
g++ -shared -Wl,-soname,libexample.so.1 -o libexample.so.1.0.1 example.o -lc -lppapi_cpp -lppapi_cpp_objects -L /home/carlos/Desktop/ppapi/example/
example.o:
g++ -fPIC -Wall -g -c stub.cc -o example.o -I /home/carlos/Desktop/
clean:
rm example.o libexample.so.1.0.1
run:
google-chrome -d --register-pepper-plugins="/home/carlos/Desktop/ppapi/examples/stub/libexample.so.1.0.1;application/x-ppapi-example"
However, libexample.so.1.0.1 is missing symbols.
nm libexample.so.1.0.1 --demangle -u | grep pp::
Gives me this:
U pp::Module::Get()
U typeinfo for pp::Module
U typeinfo for pp::Instance
Where are those symbols?