What steps will reproduce the problem?
1. Run the Makefile from the examples/graphics/earth directory
What is the expected output? What do you see instead?
GCC reports the following
pepper_c.c:208: error: too many initializers for ‘PPP_Instance’
pepper_c.c:208: error: invalid conversion from ‘PP_Bool (*)(PP_Instance,
const PP_InputEvent*)’ to ‘PP_Bool (*)(PP_Instance, PP_Resource)’
I managed to remove the offending members of the struct, but now it is held up
at linktime, even when adding the apparent required library (libimc).
/home/scott/local/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/nacl-g++
-o earth_c_x86_32.nexe earth.cc pepper_c.c -O3 -msse2 -mfpmath=sse
-fomit-frame-pointer -std=gnu++98 -Wno-long-long -Wall -pedantic -Werror -limc
-lpthread -lm -lppruntime -lppapi_cpp -lplatform -lgio -lsrpc
/home/scott/local/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/
x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libppruntime.a(plugin_glo
bals.o): In function `PpapiPluginMain':
plugin_globals.cc:(.text+0x19c): undefined reference to `imc_sendmsg'
/home/scott/local/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/
x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libsrpc.a(nacl_srpc_messa
ge.o): In function `T.37':
nacl_srpc_message.c:(.text+0xa3c): undefined reference to `imc_sendmsg'
/home/scott/local/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/
x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libsrpc.a(nacl_srpc_messa
ge.o): In function `T.38':
nacl_srpc_message.c:(.text+0x123c): undefined reference to `imc_recvmsg'
/home/scott/local/native_client_sdk_0_5_1031/toolchain/linux_x86/bin/../lib/gcc/
x86_64-nacl/4.4.3/../../../../x86_64-nacl/lib/../lib32/libsrpc.a(accept.o): In
function `NaClSrpcAcceptClientConnection':
accept.c:(.text+0x5c): undefined reference to `imc_accept'
What version of the product are you using? On what operating system?
svn version as of Aug. 18th, 2011 on ArchLinux.
Please provide any additional information below.
I have attached the pepper_c.c and Makefile changes as a diff.
Original issue reported on code.google.com by scott.gr...@gmail.com on 18 Aug 2011 at 7:40
Original issue reported on code.google.com by
scott.gr...@gmail.com
on 18 Aug 2011 at 7:40Attachments: