[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#586633: sflphone : FTBFS: error: #error "Please specify target machine."



Source: sflphone
Version: 0.9.8.3-1
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4

sflphone FTBFS on SH4.
Because  sflphone does not support Renesas SH.

http://buildd.debian-ports.org/fetch.php?pkg=sflphone&arch=sh4&ver=0.9.8.3-1&stamp=1277056510&file=log&as=raw
-----
make[5]: Entering directory
`/build/buildd-sflphone_0.9.8.3-1-sh4-poIU_U/sflphone-0.9.8.3/sflphone-common/src/dbus'
  CXX    libdbus_la-callmanager.lo
In file included from ../../libs/pjproject/pjlib/include/pj/types.h:44,
                 from ../../libs/pjproject/pjsip/include/pjsip/sip_config.h:38,
                 from ../../libs/pjproject/pjsip/include/pjsip/sip_types.h:45,
                 from ../../libs/pjproject/pjsip/include/pjsip.h:35,
                 from ../../src/sip/sipvoiplink.h:44,
                 from callmanager.cpp:36:
../../libs/pjproject/pjlib/include/pj/config.h:280:5: error: #error
"Please specify target machine."
../../libs/pjproject/pjlib/include/pj/config.h:1087:4: error: #error
"PJ_HAS_PENTIUM is not defined!"
../../libs/pjproject/pjlib/include/pj/config.h:1091:4: error: #error
"PJ_IS_LITTLE_ENDIAN is not defined!"
../../libs/pjproject/pjlib/include/pj/config.h:1095:4: error: #error
"PJ_IS_BIG_ENDIAN is not defined!"
make[5]: *** [libdbus_la-callmanager.lo] Error 1
make[5]: Leaving directory
`/build/buildd-sflphone_0.9.8.3-1-sh4-poIU_U/sflphone-0.9.8.3/sflphone-common/src/dbus'
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/build/buildd-sflphone_0.9.8.3-1-sh4-poIU_U/sflphone-0.9.8.3/sflphone-common/src/dbus'
make[3]: Leaving directory
`/build/buildd-sflphone_0.9.8.3-1-sh4-poIU_U/sflphone-0.9.8.3/sflphone-common/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2

-----

I made patch to support SH. Could you apply this patch?

Best regards,
 Nobuhiro

Attachment: sflphone-0.9.8.3_sh_support
Description: Binary data


Reply to: