Did the following, had to comment out some test in the configure.  Added the 
gcc_s to get around a __aeabi_unwind_cpp_pr0 and __aeabi_unwind_cpp_pr1 errors.

arm-none-linux-gnueabi-gcc -I../../include -I.  -g -O2 
-DMTCP_SYS_ERRNO_ON_STACK -c -o mtcp_restart.o -DPIC -fPIC -fno-stack-protector 
-g -O0 mtcp_restart.c
arm-none-linux-gnueabi-gcc -g -O2 -DMTCP_SYS_ERRNO_ON_STACK -c syscall-arm.S
arm-none-linux-gnueabi-gcc -g -O2 -DMTCP_SYS_ERRNO_ON_STACK  -o 
../../bin/mtcp_restart -fPIC -g -O0 -nodefaultlibs mtcp_restart.o syscall-arm.o
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/usr/lib/crti.o:(.ARM.exidx+0x0):
 undefined reference to `__aeabi_unwind_cpp_pr0'
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/usr/lib/crtn.o:(.ARM.exidx.init+0x0):
 undefined reference to `__aeabi_unwind_cpp_pr0'
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/usr/lib/crtn.o:(.ARM.exidx.fini+0x0):
 undefined reference to `__aeabi_unwind_cpp_pr0'
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/crtbegin.o:(.ARM.exidx+0x0):
 undefined reference to `__aeabi_unwind_cpp_pr0'
mtcp_restart.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr1'
mtcp_restart.o:(.ARM.exidx+0x8): undefined reference to `__aeabi_unwind_cpp_pr0'
collect2: ld returned 1 exit status

Using this config I get the following:

./configure --build=i686-pc-linux-gnu --host=arm-linux --disable-openmp 
--disable-test-suite LDFLAGS="-lgcc_s"

arm-none-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I../../include  -I../../include 
-I../../jalib -I./ipc  -fPIC -g -O2 -c -o ipc/event/i-eventconnection.o `test 
-f 'ipc/event/eventconnection.cpp' || echo './'`ipc/event/eventconnection.cpp
In file included from ipc/event/eventconnection.h:61,
                 from ipc/event/eventconnection.cpp:42:
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/usr/include/sys/signalfd.h:54:
 error: expected initializer before 'throw'
ipc/event/eventconnection.cpp: In member function 'virtual void 
dmtcp::EventFdConnection::drain()':
ipc/event/eventconnection.cpp:137: error: 'EFD_SEMAPHORE' was not declared in 
this scope
ipc/event/eventconnection.cpp: In member function 'virtual void 
dmtcp::SignalFdConnection::postRestart()':
ipc/event/eventconnection.cpp:236: error: 'signalfd' was not declared in this 
scope
ipc/event/eventconnection.cpp:236: error: invalid type in declaration before 
'=' token
ipc/event/eventconnection.cpp:236: error: '({...})' cannot be used as a function
make[2]: *** [ipc/event/i-eventconnection.o] Error 1
make[2]: Leaving directory `/home/craig/git/dmtcp/src/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/craig/git/dmtcp/src'
make: *** [dmtcp] Error 2

Does anyone have an ideas?

Thanks,
Craig

------------------------------------------------------------------------------
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to