ptlib/make/lib.mak no longer available

Discussion related to implementation and use of the H.323 Plus H.323 stack at http://www.h323plus.org.
Post Reply
mazilo
Posts: 45
Joined: Thu Sep 15, 2011 2:12 pm

ptlib/make/lib.mak no longer available

Post by mazilo »

Looks like H323Plus is now not cross compilable with the latest PTLib. I just did an update to my local PTLib, Opal, and H323Plus with the latest revision. When I tried to cross compile H323Plus, it spitted out an error message saying No such file or directory for ptlib/make/lib.mak as seen below.

Code: Select all

make[2]: Entering directory `/opt/OpenWRT/feeds/packages/libs/h323plus_cvs'
. /opt/openwrt-svn-trunk/include/shell.sh; bzcat /opt/openwrt-svn-trunk/dl/h323plus_cvs-20120327.tar.bz2 | /bin/tar -C /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/.. -xf - --strip-components=1 -C /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs 
rm -rf /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/patches; mkdir -p /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/patches
touch /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/.quilt_used
touch /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/.prepared
if [ -s "/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/patches/series" ]; then (cd "/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
touch "/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/.quilt_checked"
#(cd /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs; [ -e configure ] && rm configure)
#(cd /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs; /opt/openwrt-svn-trunk/staging_dir/host/bin/aclocal.real --force)
#(cd /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs; /opt/openwrt-svn-trunk/staging_dir/host/bin/autoconf -f)
(cd /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/./; if [ -x ./configure ]; then /usr/bin/find /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/ -name config.guess | xargs -r -n1 cp /opt/openwrt-svn-trunk/scripts/config.guess; /usr/bin/find /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/ -name config.sub | xargs -r -n1 cp /opt/openwrt-svn-trunk/scripts/config.sub; AR=arm-openwrt-linux-uclibcgnueabi-ar AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float" LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm CC="arm-openwrt-linux-uclibcgnueabi-gcc" GCC="arm-openwrt-linux-uclibcgnueabi-gcc" CXX="arm-openwrt-linux-uclibcgnueabi-g++" RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " CXXFLAGS="-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " CPPFLAGS="-I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/include " LDFLAGS="-L/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/usr/lib -L/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/lib -L/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/usr/lib -L/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/lib "   ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-suse-linux --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   --host=arm-openwrt-linux --build=x86_64-suse-linux --prefix="/usr" --enable-asntracing --enable-audio --disable-aec --enable-file --enable-gnugk --enable-h224 --enable-h230 --enable-h235 --enable-h239 --enable-h248 --enable-h249 --enable-h341 --enable-h350 --enable-h450 --enable-h46017 --enable-h46018 --enable-h46019m --disable-h46023 --enable-h4609 --enable-h460 --enable-h460p --enable-h501 --enable-option-checking --enable-t120 --enable-t38 --enable-versioncheck --enable-video --enable-capi --enable-celt --enable-default-to-full-capabilties --enable-h264 --enable-ixj --enable-libavcodec --enable-libavcodec-stackalign-hack --enable-localgsm --enable-localilbc --enable-localspeex --enable-sbc --enable-spandsp --enable-theora --enable-vpb --enable-x264 --enable-x264-link-static  ; fi; )
configure: WARNING: unrecognized options: --disable-nls, --enable-capi, --enable-celt, --enable-default-to-full-capabilties, --enable-h264, --enable-ixj, --enable-libavcodec, --enable-libavcodec-stackalign-hack, --enable-localgsm, --enable-localilbc, --enable-localspeex, --enable-sbc, --enable-spandsp, --enable-theora, --enable-vpb, --enable-x264, --enable-x264-link-static
configure: loading site script /opt/openwrt-svn-trunk/include/site/arm-openwrt-linux-uclibcgnueabi
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether arm-openwrt-linux-uclibcgnueabi-g++ accepts -g... yes
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-uclibcgnueabi-gcc
checking whether we are using the GNU C compiler... yes
checking whether arm-openwrt-linux-uclibcgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-uclibcgnueabi-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... arm-openwrt-linux-uclibcgnueabi-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
OpenH323 version is 1.24.1
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/version.h usability... yes
checking /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/version.h presence... yes
checking for /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/version.h... yes
PTLib prefix set to.... /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn
checking Checking PTLib version 2.11.2... ok
configure: Disabling H.460.23/.24
configure: Enabling T.38
configure: AEC disabled
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating openh323u.mak
config.status: creating Makefile
config.status: creating include/openh323buildopts.h
=== configuring in plugins (/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/plugins)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--target=arm-openwrt-linux' '--program-prefix=' '--program-suffix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--host=arm-openwrt-linux' '--build=x86_64-suse-linux' '--enable-asntracing' '--enable-audio' '--disable-aec' '--enable-file' '--enable-gnugk' '--enable-h224' '--enable-h230' '--enable-h235' '--enable-h239' '--enable-h248' '--enable-h249' '--enable-h341' '--enable-h350' '--enable-h450' '--enable-h46017' '--enable-h46018' '--enable-h46019m' '--disable-h46023' '--enable-h4609' '--enable-h460' '--enable-h460p' '--enable-h501' '--enable-option-checking' '--enable-t120' '--enable-t38' '--enable-versioncheck' '--enable-video' '--enable-capi' '--enable-celt' '--enable-default-to-full-capabilties' '--enable-h264' '--enable-ixj' '--enable-libavcodec' '--enable-libavcodec-stackalign-hack' '--enable-localgsm' '--enable-localilbc' '--enable-localspeex' '--enable-sbc' '--enable-spandsp' '--enable-theora' '--enable-vpb' '--enable-x264' '--enable-x264-link-static' 'build_alias=x86_64-suse-linux' 'host_alias=arm-openwrt-linux' 'target_alias=arm-openwrt-linux' 'CXX=arm-openwrt-linux-uclibcgnueabi-g++' 'CXXFLAGS=-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float ' 'LDFLAGS=-L/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/usr/lib -L/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/lib -L/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/usr/lib -L/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/lib ' 'CPPFLAGS=-I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/include ' 'CC=arm-openwrt-linux-uclibcgnueabi-gcc' 'CFLAGS=-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float ' --cache-file=/dev/null --srcdir=.
configure: WARNING: unrecognized options: --disable-nls, --enable-asntracing, --enable-audio, --disable-aec, --enable-file, --enable-gnugk, --enable-h224, --enable-h230, --enable-h235, --enable-h239, --enable-h248, --enable-h249, --enable-h341, --enable-h350, --enable-h450, --enable-h46017, --enable-h46018, --enable-h46019m, --disable-h46023, --enable-h4609, --enable-h460, --enable-h460p, --enable-h501, --enable-t120, --enable-t38, --enable-versioncheck, --enable-video
configure: loading site script /opt/openwrt-svn-trunk/include/site/arm-openwrt-linux-uclibcgnueabi
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-suse-linux-gnu
checking host system type... arm-openwrt-linux-gnu
checking target system type... arm-openwrt-linux-gnu
checking Debugging support... no
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether arm-openwrt-linux-uclibcgnueabi-g++ accepts -g... yes
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-uclibcgnueabi-gcc
checking whether we are using the GNU C compiler... yes
checking whether arm-openwrt-linux-uclibcgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-uclibcgnueabi-gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-openwrt-linux-ranlib... arm-openwrt-linux-uclibcgnueabi-ranlib
checking for arm-openwrt-linux-nm... arm-openwrt-linux-uclibcgnueabi-nm
checking for arm-openwrt-linux-ldd... no
checking for ldd... ldd
configure: WARNING: using cross tools not prefixed with host triplet
checking for arm-openwrt-linux-objdump... arm-openwrt-linux-uclibcgnueabi-objdump
checking how to run the C preprocessor... arm-openwrt-linux-uclibcgnueabi-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking OPAL Version... 1.24.1
checking Plugin install directory... /usr/lib/opal-1.24.1
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
configure: Forcing use of local GSM sources
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking internal Speex version... 1.1.11.1
configure: forcing use of local Speex sources
configure: forcing use of local iLBC sources
checking for src_get_version in -lsamplerate... no
checking default to full capabilities at empty fmtp lines... yes
checking for LIBAVCODEC... no
checking libavcodec source... disabled
checking for X264... no
checking for THEORA... no
checking for CELT... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking if dlopen is available... yes
checking for dlopen in -ldl... yes
configure: h264 support disabled due to disabled dependency HAVE_X264
configure: h264 support disabled due to disabled dependency HAVE_H264_DECODER
checking enable H.264 support... no
checking IXJ... yes
checking linux/telephony.h usability... yes
checking linux/telephony.h presence... yes
checking for linux/telephony.h... yes
checking IXJ... yes
checking enable voicetronix vpb... yes
checking capi20.h usability... no
checking capi20.h presence... no
checking for capi20.h... no
checking CAPI... no
checking for fax_free in -lspandsp... no
checking for posix_memalign... yes
configure: creating ./config.status
config.status: creating audio/G722/Makefile
config.status: creating audio/G.722.1/Makefile
config.status: creating audio/G.722.2/Makefile
config.status: creating audio/GSM0610/Makefile
config.status: creating audio/gsm-amr/Makefile
config.status: creating audio/iLBC/Makefile
config.status: creating audio/Speex/Makefile
config.status: creating audio/LPC_10/Makefile
config.status: creating audio/G726/Makefile
config.status: creating audio/IMA_ADPCM/Makefile
config.status: creating audio/SBC/Makefile
config.status: creating audio/celt/Makefile
config.status: creating video/H.261-vic/Makefile
config.status: creating video/H.263-ffmpeg/Makefile
config.status: creating video/H.263-1998/Makefile
config.status: creating video/H.264/Makefile
config.status: creating video/H.264/gpl/Makefile
config.status: creating Makefile
config.status: creating audio/Speex/libspeex/speex_config_types.h
configure: WARNING: unrecognized options: --disable-nls, --enable-asntracing, --enable-audio, --disable-aec, --enable-file, --enable-gnugk, --enable-h224, --enable-h230, --enable-h235, --enable-h239, --enable-h248, --enable-h249, --enable-h341, --enable-h350, --enable-h450, --enable-h46017, --enable-h46018, --enable-h46019m, --disable-h46023, --enable-h4609, --enable-h460, --enable-h460p, --enable-h501, --enable-t120, --enable-t38, --enable-versioncheck, --enable-video
configure: creating ./config.status
config.status: creating audio/G722/Makefile
config.status: creating audio/G.722.1/Makefile
config.status: creating audio/G.722.2/Makefile
config.status: creating audio/GSM0610/Makefile
config.status: creating audio/gsm-amr/Makefile
config.status: creating audio/iLBC/Makefile
config.status: creating audio/Speex/Makefile
config.status: creating audio/LPC_10/Makefile
config.status: creating audio/G726/Makefile
config.status: creating audio/IMA_ADPCM/Makefile
config.status: creating audio/SBC/Makefile
config.status: creating audio/celt/Makefile
config.status: creating video/H.261-vic/Makefile
config.status: creating video/H.263-ffmpeg/Makefile
config.status: creating video/H.263-1998/Makefile
config.status: creating video/H.264/Makefile
config.status: creating video/H.264/gpl/Makefile
config.status: creating Makefile
config.status: creating audio/Speex/libspeex/speex_config_types.h
config.status: creating plugin-config.h
configure: WARNING: unrecognized options: --disable-nls, --enable-asntracing, --enable-audio, --disable-aec, --enable-file, --enable-gnugk, --enable-h224, --enable-h230, --enable-h235, --enable-h239, --enable-h248, --enable-h249, --enable-h341, --enable-h350, --enable-h450, --enable-h46017, --enable-h46018, --enable-h46019m, --disable-h46023, --enable-h4609, --enable-h460, --enable-h460p, --enable-h501, --enable-t120, --enable-t38, --enable-versioncheck, --enable-video

=================== Plugin configuration ======================
 prefix                           : /usr
 exec_prefix                      : /usr
 libdir                           : ${exec_prefix}/lib
 Audio Codec plugin install dir   : ${libdir}/opal-1.24.1/codecs/audio
 Video Codec plugin install prefix: ${libdir}/opal-1.24.1/codecs/video
 LID plugin install prefix        : ${libdir}/opal-1.24.1/lid
 FAX plugin install prefix        : ${libdir}/opal-1.24.1/fax

                              GSM :  yes (internal)
                          gsm-amr :  yes
                             iLBC :  yes (internal)
                            Speex :  yes (internal, version 1.1.11.1)
                            LPC10 :  yes
                            G.726 :  yes
                        IMA_ADPCM :  yes
                              SBC :  no

                           H.261  :  yes
                           H.263  :  no (ffmpeg version)
                     H.263/H.263+ :  no
                           H.264  :  no
                          THEORA  :  no
                    MPEG4 Part 2  :  no
                            CELT  :  no

                     SpanDSP FAX  :  no

                            CAPI  :  no
           Quicknet xJACK support :  yes
         Voicetronics VPB support :  yes

                         OS Type  :  linux-gnu
                    Machine Type  :  arm

 If all settings are OK, type make and make install 
========================================================
configure: WARNING: unrecognized options: --disable-nls, --enable-capi, --enable-celt, --enable-default-to-full-capabilties, --enable-h264, --enable-ixj, --enable-libavcodec, --enable-libavcodec-stackalign-hack, --enable-localgsm, --enable-localilbc, --enable-localspeex, --enable-sbc, --enable-spandsp, --enable-theora, --enable-vpb, --enable-x264, --enable-x264-link-static
rm -f /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/.configured_
touch /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/.configured_
make -j1 -C /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs DESTDIR="/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/ipkg-install"
make[3]: Entering directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs'
make[4]: Entering directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs'
make[4]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs'
make -C src optshared
make[4]: Entering directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/src'
Makefile:351: /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/make/lib.mak: No such file or directory
make[4]: *** No rule to make target `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/make/lib.mak'.  Stop.
make[4]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/src'
make[3]: *** [optshared] Error 2
make[3]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs'
make[2]: *** [/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/.built] Error 2
make[2]: Leaving directory `/opt/OpenWRT/feeds/packages/libs/h323plus_cvs'

mazilo
Posts: 45
Joined: Thu Sep 15, 2011 2:12 pm

Re: ptlib/make/lib.mak no longer available

Post by mazilo »

I traced back to PTLib r27227, the last PTLib SVN revision below ptlib/make/lib.mak file gets removed. I created a patch file for src/Makefile file to remove lib.mak dependency as shown below.

Code: Select all

--- a/src/Makefile
+++ b/src/Makefile
@@ -348,8 +348,6 @@ SYSLIBS        += -l$(PTLIB_BASE)$(LIB_T
 LIB_BASENAME=$(OH323_BASE)
 LIB_FILENAME=$(OH323_FILE)
 
-include $(PTLIBDIR)/make/lib.mak
-
 ####################################################
If I applied the above patch, the cross compilation will not be able to compile to produce any libh323.* library as shown below:

Code: Select all

make -j1 -C /opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs DESTDIR="/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs/ipkg-install" opt install
make[3]: Entering directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs'
make[4]: Entering directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs'
make[4]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs'
make -C src opt
make[4]: Entering directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs/src'
make[5]: Entering directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs/src'
make[5]: *** No rule to make target `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs/lib/libh323__.so', needed by `default_target'.  Stop.
make[5]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs/src'
make[4]: *** [opt] Error 2
make[4]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs/src'
make[3]: *** [opt] Error 2
make[3]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs'
make[2]: *** [/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.33/h323plus_cvs/.built] Error 2
make[2]: Leaving directory `/opt/OpenWRT/feeds/packages/libs/h323plus_cvs'
make[1]: *** [package/feeds/local/h323plus_cvs/compile] Error 2
make[1]: Leaving directory `/opt/openwrt-svn-trunk'
make: *** [package/h323plus_cvs/compile] Error 2

Post Reply