I just tried to install ZM1.25 in one of my guruplugs. I have some problems when running the make command. This is the configure command:
Code: Select all
export CFLAGS="-march=native -O2 -pipe" && \
export CXXFLAGS="${CFLAGS}" && \
export CPPFLAGS="${CFLAGS}"
./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin \
ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser \
ZM_DB_PASS=zmpass ZM_SSL_LIB=openssl --enable-debug=no \
--with-webgroup=www-data --with-webuser=www-data --enable-mmap=yes CPPFLAGS="-D__STDC_CONSTANT_MACROS ${CPPFLAGS}"
Code: Select all
zm_signal.cpp: In function ‘void zm_die_handler(int, sigcontext)’:
zm_signal.cpp:91:2: error: ‘struct sigcontext’ has no member named ‘cr2’
make[2]: *** [zm_signal.o] Error 1
make[2]: Leaving directory `/usr/src/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zm'
If so, which registers should I put instead of the cr2 (i386) register?. Is there any configuration to compile the package for armel architectures to avoid this error?.
Thanks in advance,
PacoLM