<div dir="ltr"><span>Hello</span><span></span><span>!</span><br><span lang="en"> <span>Can you</span> <span>help me?</span> <span>The problem</span> <span>is as follows:</span><br><br> <span>I compiled</span> <span>FreeSwitch</span> <span>for</span> <span>PowerPC.</span> <span>FS</span> <span>compiled,</span> <span>but</span> <span>does not want to</span> <span>run</span><span>.</span> <span>Gives</span> <span>a</span> <span>Aborted</span><span>.</span> <span>Runs under</span> <span>strace,</span> <span>this is what</span> <span>gives</span> <span>(the last</span> <span>38</span> <span>lines):</span></span><br><br>open("/proc/stat", O_RDONLY) = 3<br>fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0<br>mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x48023000<br>read(3, "cpu 278 0 1857 11232 0 10 29 0 0"..., 1024) = 1024<br>read(3, "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"..., 1024) = 161<br>read(3, ""..., 1024) = 0<br>close(3) = 0<br>munmap(0x48023000, 4096) = 0<br>sched_setscheduler(0, SCHED_FIFO, { 1 }) = 0<br>setpriority(PRIO_PROCESS, 1485, -10) = 0<br>setrlimit(RLIMIT_STACK, {rlim_cur=240*1024, rlim_max=8192*1024}) = 0<br>setrlimit(RLIMIT_NOFILE, {rlim_cur=999999, rlim_max=999999}) = 0<br>setrlimit(RLIMIT_CPU, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br>setrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br>setrlimit(RLIMIT_FSIZE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br>setrlimit(RLIMIT_NPROC, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br>setrlimit(RLIMIT_RTPRIO, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br>setrlimit(RLIMIT_AS, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0<br>mkdir("/usr/local/freeswitch/<div>run", 0750) = -1 EEXIST (File exists)<br>open("/usr/local/freeswitch/run/freeswitch.pid", O_RDONLY) = 3<br>read(3, "1483"..., 32) = 4<br>close(3) = 0<br>open("/usr/local/freeswitch/run/freeswitch.pid", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3<br>fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0<br>write(3, "1485"..., 4) = 4<br>uname({sys="Linux", node="OD-171/172", ...}) = 0<br>open("/proc/stat", O_RDONLY) = 4<br>fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0<br>mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x48023000<br>read(4, "cpu 279 0 1858 11232 0 10 29 0 0"..., 1024) = 1024<br>read(4, "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"..., 1024) = 161<br>read(4, ""..., 1024) = 0<br>close(4) = 0<br>munmap(0x48023000, 4096) = 0<br>rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0<br>tgkill(1485, 1485, SIGABRT) = 0<br>--- SIGABRT (Aborted) @ 0 (0) ---<br>+++ killed by SIGABRT +++<br><br><font size="4"><span lang="en"><span>it</span> <span>wrote</span> <span>gdb</span></span></font>:<br><br></div><div>warning: exec file is newer than core file.<br><br>warning: Can't read pathname for load map: Input/output error.<br>Reading symbols from /lib/libm.so.6...done.<br>Loaded symbols for /lib/libm.so.6<br>Reading symbols from /lib/libpthread.so.0...done.<br>Loaded symbols for /lib/libpthread.so.0<br>Reading symbols from /usr/local/freeswitch/lib/libfreeswitch.so.1...done.<br>Loaded symbols for /usr/local/freeswitch/lib/libfreeswitch.so.1<br>Reading symbols from /usr/lib/libz.so.1...done.<br>Loaded symbols for /usr/lib/libz.so.1<br>Reading symbols from /lib/librt.so.1...done.<br>Loaded symbols for /lib/librt.so.1<br>Reading symbols from /lib/libdl.so.2...done.<br>Loaded symbols for /lib/libdl.so.2<br>Reading symbols from /lib/libcrypt.so.1...done.<br>Loaded symbols for /lib/libcrypt.so.1<br>Reading symbols from /usr/lib/libssl.so.0.9.8...done.<br>Loaded symbols for /usr/lib/libssl.so.0.9.8<br>Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.<br>Loaded symbols for /usr/lib/libcrypto.so.0.9.8<br>Reading symbols from /usr/lib/libjpeg.so.62...done.<br>Loaded symbols for /usr/lib/libjpeg.so.62<br>Reading symbols from /lib/libc.so.6...done.<br>Loaded symbols for /lib/libc.so.6<br>Reading symbols from /lib/ld.so.1...done.<br>Loaded symbols for /lib/ld.so.1<br>Reading symbols from /lib/libstdc++.so.6...done.<br>Loaded symbols for /lib/libstdc++.so.6<br>Reading symbols from /lib/libgcc_s.so.1...done.<br>Loaded symbols for /lib/libgcc_s.so.1<br>Core was generated by `./freeswitch'.<br>Program terminated with signal 6, Aborted.<br>#0 0x0f84e564 in raise () from /lib/libc.so.6<br><font size="4"><br></font></div><div><span id="result_box" class="" lang="en"><font size="4"><span class="">Under</span> <span class="">gdb</span> <span class="">run:</span></font><br><br> <span class="">export CFLAGS = "- g -ggdb"</span><br> <span class="">export MOD_CFLAGS = "- g -ggdb"</span><br> <span class="">./run_configure</span><br> <span class="">make</span><br><br> <span class="">ulimit -c unlimited</span><br> <span class="">./freeswitch</span><br><br> <span class="">gdb bin / freeswitch core</span><br><font size="4"><br> <span class="">Version</span> <span class="">FreeSwitch 1.4.0.</span></font><br><br> <font size="4"><span class="">run_configure</span> <span class="">looks like this:</span><br></font><br> <span class="">export PATH = / opt / freescale / usr / local / gcc-4.1.78-eglibc-2.5.78-1 / powerpc-e300c3-linux-gnu / bin: \</span><br> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs / usr / lib: \</span><br> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs: \</span><br> <span class="">/ home / common / ltib-mpc83xx / mpc8308erdb / rootfs / lib: $ PATH</span><br><br> <span class="">#export CC = powerpc-e300c3-linux-gnu-gcc</span><br><br> <span class="">declare -x CROSS_COMPILE = "powerpc-e300c3-linux-gnu-"</span><br> <span class="">declare -x CC = "$ CROSS_COMPILE" gcc</span><br> <span class="">declare -x CXX = "$ CROSS_COMPILE" g ++</span><br> <span class="">declare -x CPP = "$ CROSS_COMPILE" cpp</span><br> <span class="">declare -x STRIP = "$ CROSS_COMPILE" strip</span><br> <span class="">declare -x RANLIB = "$ CROSS_COMPILE" ranlib</span><br> <span class="">declare -x AR = "$ CROSS_COMPILE" ar</span><br> <span class="">declare -x AS = "$ CROSS_COMPILE" as</span><br> <span class="">declare -x NM = "$ CROSS_COMPILE" nm</span><br> <span class="">declare -x LD = "$ CROSS_COMPILE" ld</span><br> <span class="">export LDFLAGS = -L / home / common / ltib-mpc83xx / mpc8308erdb / rootfs / usr / lib</span><br><br> <span class="">export ac_cv_sizeof_ssize_t =</span> <span class="">4</span><br> <span class="">export ac_cv_lib_z_inflateReset = yes</span><br> <span class="">./configure
--target = powerpc --with-lib-subdir = / home / common / ltib-mpc83xx /
mpc8308erdb / rootfs / usr / lib --with-gcc-arch = powerpc --host =
powerpc-e300c3-linux</span> <span class="">-gnu \</span><br> <span class="">ac_cv_file__dev_ptmx = yes --disable-core-libedit-support --without-apr-util</span></span></div><div><br></div><br><span lang="en"><span>What</span> <span>could be</span> <span>the reason for such</span> <span>behavior?<br><br><br></span></span><span class=""><font color="#888888"><span><font color="#888888"><div><div dir="ltr"><span lang="en"><span>Best Regards</span><span>,</span><br> <span>Appalonov</span> <span>Andrei.</span></span></div></div></font></span></font></span><br></div>