mkoctfile -v -c test.cpp g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-3.8.1/octave/.. -I/usr/include/octave-3.8.1/octave -I/usr/include/mpi -mieee-fp -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -pthread -fopenmp test.cpp -o test.o mkoctfile -v -c embed.cc g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-3.8.1/octave/.. -I/usr/include/octave-3.8.1/octave -I/usr/include/mpi -mieee-fp -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -pthread -fopenmp embed.cc -o embed.o In file included from embed.cc:17:0: embed.h:10:29: error: ‘void octave_exit()’ redeclared as different kind of symbol extern void octave_exit(void); ^ In file included from embed.cc:10:0: /usr/include/octave-3.8.1/octave/toplev.h:47:39: error: previous declaration of ‘void (* octave_exit)(int)’ extern OCTINTERP_API octave_exit_func octave_exit; ^ embed.cc: In function ‘void octave_exit()’: embed.cc:23:22: error: ‘void octave_exit()’ redeclared as different kind of symbol void octave_exit(void) ^ In file included from embed.cc:10:0: /usr/include/octave-3.8.1/octave/toplev.h:47:39: error: previous declaration of ‘void (* octave_exit)(int)’ extern OCTINTERP_API octave_exit_func octave_exit; ^ embed.cc:25:20: error: ‘do_octave_atexit’ was not declared in this scope do_octave_atexit(); ^ embed.cc: In function ‘void recover_from_exception()’: embed.cc:29:29: error: ‘void recover_from_exception()’ was declared ‘extern’ and later ‘static’ [-fpermissive] recover_from_exception (void) ^ In file included from embed.cc:10:0: /usr/include/octave-3.8.1/octave/toplev.h:58:27: error: previous declaration of ‘void recover_from_exception()’ [-fpermissive] extern OCTINTERP_API void recover_from_exception (void); ^ embed.cc: In function ‘void recover_from_exception()’: embed.cc:31:3: error: ‘run_all’ is not a member of ‘unwind_protect’ unwind_protect::run_all (); ^ embed.cc:35:3: error: ‘octave_allocation_error’ was not declared in this scope octave_allocation_error = 0; ^ embed.cc: In function ‘int octave_call(const char*)’: embed.cc:50:7: error: ‘run_all’ is not a member of ‘unwind_protect’ unwind_protect::run_all (); ^ embed.cc:83:7: error: ‘curr_sym_tab’ was not declared in this scope curr_sym_tab = top_level_sym_tab; ^ embed.cc:83:22: error: ‘top_level_sym_tab’ was not declared in this scope curr_sym_tab = top_level_sym_tab; ^ mkoctfile -v --link-stand-alone test.o embed.o -o test_embed g++ -D_FORTIFY_SOURCE=2 -I/usr/include/octave-3.8.1/octave/.. -I/usr/include/octave-3.8.1/octave -I/usr/include/mpi -mieee-fp -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -pthread -fopenmp -rdynamic -fPIC -Wl,-Bsymbolic-functions -Wl,-z,relro -o test_embed test.o embed.o -L/usr/lib/i386-linux-gnu/octave/3.8.1 -L/usr/lib/i386-linux-gnu -loctinterp -loctave g++: error: embed.o: Aucun fichier ou dossier de ce type