[Serdev] ser on arm, crashed.

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Dec 15 10:05:06 UTC 2006


On Dec 15, 2006 at 11:40, wpu220 <wpu220 at gmail.com> wrote:
> 
> I have built ser-0.9.6 for ep9315( core arm920t)
> first I cross compiled libfl.a,
> then make ARCH=arm OS=linux OSREL=2.4.21-rmk1-crus1.4.5 CC=arm-linux-gcc  
> all
> There is a lot of warnings,while compiling,
> such as cfg.y: conflicts: 1 shift/reduce
> or avpops.c:653: warning: cast increases required alignment of target type


Yes, there are a lot of warnings, most of them can be ignored (like the
one above, all of the warnings related to  mallocs a.s.o.).


> or /usr/local/arm/3.3/lib/gcc-lib/arm-linux/3.3/ld: Warning: alignment 4  
> of symbol
> `pid_file' in main.o is smaller than 32 in msg_translator.o

Strange, I've never seen this one. In fact msg_translator.o doesn't
define or use pid_file...

> 
> The make completed without errors and Ser run successful on the arm,with  
> the default cfg(ser -f ser.cfg) .
> But when I tried to regist to the ser, the ser crashed with segmentation  
> fault.

Do you have the  backtrace? (gdb ser core  and then bt)
Could you send it to me.


> what I did is wrong? The compile method??The way run ser?help me,please.
> 
Everything looks ok, just make sure you run make proper before compiling
 (to clear any previous attempts with bad flags/archs/compiler).

We haven't tested ser on arm in a long while (unfortunately I don't have
access to an arm machine anymore).


Andrei


More information about the Serdev mailing list