[Oisf-devel] Suricata git today (and v1.3.1) compilation fail on powerpc

rmkml rmkml at yahoo.fr
Fri Sep 28 22:56:51 UTC 2012


Hi,

Someone previously compiled Suricata git or v1.3.1 on powerpc linux plateform ?

Because it's failed:

uname -a
Linux mac 2.6.35-32-powerpc #67-Ubuntu Tue Mar 6 05:49:55 UTC 2012 ppc GNU/Linux

$ ./configure --disable-gccmarch-native
$ make
...
gcc -DHAVE_CONFIG_H -I. -I..  -I../libhtp    -g -O2 -Wextra -Wall -fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99 
-I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DREVISION="ee5d6fd" -MT util-fmemopen.o -MD -MP -MF .deps/util-fmemopen.Tpo -c -o util-fmemopen.o util-fmemopen.c
mv -f .deps/util-fmemopen.Tpo .deps/util-fmemopen.Po
gcc -DHAVE_CONFIG_H -I. -I..  -I../libhtp    -g -O2 -Wextra -Wall -fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99 
-I/usr/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DREVISION="ee5d6fd" -MT util-cpu.o -MD -MP -MF .deps/util-cpu.Tpo -c -o util-cpu.o util-cpu.c
util-cpu.c: In function ‘UtilCpuGetTicks’:
util-cpu.c:193: error: unknown register name ‘%edx’ in ‘asm’
util-cpu.c:193: error: unknown register name ‘%ecx’ in ‘asm’
util-cpu.c:193: error: unknown register name ‘%eax’ in ‘asm’
util-cpu.c:209: error: unknown register name ‘%edx’ in ‘asm’
util-cpu.c:209: error: unknown register name ‘%ecx’ in ‘asm’
util-cpu.c:209: error: unknown register name ‘%eax’ in ‘asm’
make[3]: *** [util-cpu.o] Erreur 1
make[3]: quittant le répertoire « suricata-1.3.1_git28sep2012/src »
make[2]: *** [all] Erreur 2
make[2]: quittant le répertoire « suricata-1.3.1_git28sep2012/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « suricata-1.3.1_git28sep2012 »
make: *** [all] Erreur 2

$ more /proc/cpuinfo
processor       : 0
cpu             : 7447A, altivec supported
clock           : 1416.666661MHz
revision        : 1.2 (pvr 8003 0102)
bogomips        : 83.24
timebase        : 41620997
platform        : PowerMac
model           : PowerMac10,1
machine         : PowerMac10,1
motherboard     : PowerMac10,1 MacRISC3 Power Macintosh
detected as     : 287 (Mac mini)
pmac flags      : 00000010
L2 cache        : 512K unified
pmac-generation : NewWorld
Memory          : 512 MB


Regards
Rmkml


More information about the Oisf-devel mailing list