Ptlib linux/videodev.h error

ptlib linux/videodev.h error

Previous message: Bug#622012: ptlib: FTBFS: ptclib/pssl.cxx:810:27: error: msv4l.c:33:28: fatal error: linux/videodev.h: No such file or directory. >>I had to create a symlink to /usr/include/ptlib/unix/ptlib/videoio.h in > > >>order for the compiler to which includes /usr/include/linux/videodev.h. net/if_types.h net/if_dl.h netinet/if_ether.h linux/errqueue.h). AC_CHECK_HEADER(net/if.h, [AC_DEFINE(HAVE_NET_IF_H,1)],, [#include ]).

Ptlib linux/videodev.h error - message

Asterisk Community

Sorry the full version…

checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for gcc… gcc
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… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /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 minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking for uname… /bin/uname
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking how to run the C preprocessor… gcc -E
checking how to run the C++ preprocessor… g++ -E
checking for a sed that does not truncate output… /bin/sed
checking for egrep… grep -E
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for gawk… no
checking for mawk… mawk
checking for a BSD-compatible install… /usr/bin/install -c
checking whether ln -s works… yes
checking for ranlib… ranlib
checking for GNU make… make
checking for egrep… (cached) /bin/grep -E
checking for strip… strip
checking for ar… ar
checking for bison… :
checking for cmp… /usr/bin/cmp
checking for flex… :
checking for grep… (cached) /bin/grep
checking for python… /usr/bin/python
checking for find… /usr/bin/find
checking for compress… :
checking for basename… /usr/bin/basename
checking for dirname… /usr/bin/dirname
checking for sh… /bin/bash
checking for ln… /bin/ln
checking for dot… :
checking for wget… /usr/bin/wget
checking for curl… :
checking for rubber… :
checking for catdvi… :
checking for kpsewhich… :
checking for xmllint… :
checking for xmlstarlet… :
checking for ldconfig… /sbin/ldconfig
checking for sha1sum… /usr/bin/sha1sum
checking for openssl… /usr/bin/openssl
checking for bison that supports parse-param…
checking for soxmix… no
checking for md5… no
checking for md5sum… md5sum
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… no
checking whether pthreads work with -Kthread… no
checking whether pthreads work with -kthread… no
checking for the pthreads library -llthread… no
checking whether pthreads work with -pthread… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads… no
checking for gawk… (cached) mawk
checking for curl-config… no
checking whether libcurl is usable… no
checking for size_t… yes
checking for working alloca.h… yes
checking for alloca… yes
checking for dirent.h that defines DIR… yes
checking for library containing opendir… none required
checking for ANSI C header files… (cached) yes
checking for sys/wait.h that is POSIX.1 compatible… yes
checking arpa/inet.h usability… yes
checking arpa/inet.h presence… yes
checking for arpa/inet.h… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking for inttypes.h… (cached) yes
checking libintl.h usability… yes
checking libintl.h presence… yes
checking for libintl.h… yes
checking limits.h usability… yes
checking limits.h presence… yes
checking for limits.h… yes
checking locale.h usability… yes
checking locale.h presence… yes
checking for locale.h… yes
checking malloc.h usability… yes
checking malloc.h presence… yes
checking for malloc.h… yes
checking netdb.h usability… yes
checking netdb.h presence… yes
checking for netdb.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking stddef.h usability… yes
checking stddef.h presence… yes
checking for stddef.h… yes
checking for stdint.h… (cached) yes
checking for stdlib.h… (cached) yes
checking for string.h… (cached) yes
checking for strings.h… (cached) yes
checking sys/event.h usability… no
checking sys/event.h presence… no
checking for sys/event.h… no
checking sys/file.h usability… yes
checking sys/file.h presence… yes
checking for sys/file.h… yes
checking sys/ioctl.h usability… yes
checking sys/ioctl.h presence… yes
checking for sys/ioctl.h… yes
checking sys/param.h usability… yes
checking sys/param.h presence… yes
checking for sys/param.h… yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking syslog.h usability… yes
checking syslog.h presence… yes
checking for syslog.h… yes
checking termios.h usability… yes
checking termios.h presence… yes
checking for termios.h… yes
checking for unistd.h… (cached) yes
checking utime.h usability… yes
checking utime.h presence… yes
checking for utime.h… yes
checking arpa/nameser.h usability… yes
checking arpa/nameser.h presence… yes
checking for arpa/nameser.h… yes
checking sys/io.h usability… yes
checking sys/io.h presence… yes
checking for sys/io.h… yes
checking for tgetent in -ltermcap… yes
checking for tgetent in -ltinfo… yes
checking for initscr in -lcurses… yes
checking curses.h usability… yes
checking curses.h presence… yes
checking for curses.h… yes
checking for initscr in -lncurses… yes
checking for curses.h… (cached) yes
checking for xml2-config… /usr/bin/xml2-config
checking xlocale.h usability… yes
checking xlocale.h presence… yes
checking for xlocale.h… yes
checking winsock.h usability… no
checking winsock.h presence… no
checking for winsock.h… no
checking winsock2.h usability… no
checking winsock2.h presence… no
checking for winsock2.h… no
checking sys/poll.h usability… yes
checking sys/poll.h presence… yes
checking for sys/poll.h… yes
checking for special C compiler options needed for large files… no
checking for _FILE_OFFSET_BITS value needed for large files… 64
checking for stdbool.h that conforms to C99… yes
checking for _Bool… yes
checking for an ANSI C-conforming const… yes
checking for uid_t in sys/types.h… yes
checking for inline… inline
checking for long double with more range or precision than double… yes
checking for mode_t… yes
checking for off_t… yes
checking for pid_t… yes
checking for size_t… (cached) yes
checking for struct stat.st_blksize… yes
checking for struct ucred.uid… yes
checking for struct ucred.cr_uid… no
checking for struct sockpeercred.uid… no
checking for struct ifreq.ifr_ifru.ifru_hwaddr… yes
checking whether time.h and sys/time.h may both be included… yes
checking whether struct tm is in sys/time.h or time.h… time.h
checking for working volatile… yes
checking for ptrdiff_t… yes
checking for unistd.h… (cached) yes
checking for working chown… yes
checking whether closedir returns void… no
checking for error_at_line… 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… yes
checking for working vfork… (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files… no
checking whether gcc needs -traditional… no
checking for working memcmp… yes
checking for stdlib.h… (cached) yes
checking for unistd.h… (cached) yes
checking for sys/param.h… (cached) yes
checking for utime.h… (cached) yes
checking for getpagesize… yes
checking for working mmap… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for sys/socket.h… (cached) yes
checking types of arguments for select… int,fd_set *,struct timeval *
checking return type of signal handlers… void
checking whether lstat correctly handles trailing slash… yes
checking whether stat accepts an empty string… no
checking for working strcoll… yes
checking for strftime… yes
checking for working strnlen… yes
checking for working strtod… yes
checking whether utime accepts a null argument… yes
checking for vprintf… yes
checking for _doprnt… no
checking for asprintf… yes
checking for atexit… yes
checking for closefrom… no
checking for dup2… yes
checking for eaccess… yes
checking for endpwent… yes
checking for euidaccess… yes
checking for ffsll… yes
checking for ftruncate… yes
checking for getcwd… yes
checking for gethostbyname… yes
checking for gethostname… yes
checking for getloadavg… yes
checking for gettimeofday… yes
checking for glob… yes
checking for htonll… no
checking for ioperm… yes
checking for inet_ntoa… yes
checking for isascii… yes
checking for memchr… yes
checking for memmove… yes
checking for memset… yes
checking for mkdir… yes
checking for mkdtemp… yes
checking for munmap… yes
checking for ntohll… no
checking for newlocale… yes
checking for ppoll… yes
checking for putenv… yes
checking for re_comp… yes
checking for regcomp… yes
checking for select… yes
checking for setenv… yes
checking for socket… yes
checking for strcasecmp… yes
checking for strcasestr… yes
checking for strchr… yes
checking for strcspn… yes
checking for strdup… yes
checking for strerror… yes
checking for strlcat… no
checking for strlcpy… no
checking for strncasecmp… yes
checking for strndup… yes
checking for strnlen… yes
checking for strrchr… yes
checking for strsep… yes
checking for strspn… yes
checking for strstr… yes
checking for strtod… (cached) yes
checking for strtol… yes
checking for strtold… yes
checking for strtoq… yes
checking for unsetenv… yes
checking for utime… yes
checking for vasprintf… yes
checking for getpeereid… no
checking for sysctl… yes
checking for swapctl… no
checking for sqrt in -lm… yes
checking for exp2… yes
checking for log2… yes
checking for exp10… yes
checking for log10… yes
checking for sin… yes
checking for cos… yes
checking for tan… yes
checking for asin… yes
checking for acos… yes
checking for atan… yes
checking for atan2… yes
checking for pow… yes
checking for rint… yes
checking for exp… yes
checking for log… yes
checking for remainder… yes
checking for fmod… yes
checking for round… yes
checking for trunc… yes
checking for floor… yes
checking for ceil… yes
checking for exp2l… yes
checking for log2l… yes
checking for exp10l… yes
checking for log10l… yes
checking for sinl… yes
checking for cosl… yes
checking for tanl… yes
checking for asinl… yes
checking for acosl… yes
checking for atanl… yes
checking for atan2l… yes
checking for powl… yes
checking for sqrtl… yes
checking for rintl… yes
checking for expl… yes
checking for logl… yes
checking for remainderl… yes
checking for fmodl… yes
checking for roundl… yes
checking for truncl… yes
checking for floorl… yes
checking for ceill… yes
checking for LLONG_MAX in limits.h… yes
checking for timersub in time.h… yes
checking for a version of GNU ld that supports the --dynamic-list flag… yes
checking for sys/poll.h… (cached) yes
checking for funopen… no
checking for fopencookie… yes
checking for inet_aton… yes
checking for IP_PKTINFO… yes
checking for library containing gethostbyname_r… none required
checking for gethostbyname_r with 6 arguments… yes
checking for gethostbyname_r with 5 arguments… no
checking byteswap.h usability… yes
checking byteswap.h presence… yes
checking for byteswap.h… yes
checking for __swap16 variant of <sys/endian.h> byteswapping macros… no
checking for bswap16 variant of <sys/endian.h> byteswapping macros… no
checking for /dev/urandom… yes
checking for locale_t in locale.h… yes
checking for O_EVTONLY in fcntl.h… no
checking for O_SYMLINK in fcntl.h… no
checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h… yes
checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h… yes
checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h… yes
checking for pthread_rwlock_timedwrlock() in pthread.h… yes
checking if PTHREAD_ONCE_INIT needs braces… no
checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h… yes
checking whether we can compare a mutex to its initial value… no
checking sys/thr.h usability… no
checking sys/thr.h presence… no
checking for sys/thr.h… no
checking for compiler atomic operations… yes
checking if your system printf is NULL-safe… (null)yes
checking if we can increase the maximum select-able file descriptor… no
checking for compiler ‘attribute pure’ support… yes
checking for compiler ‘attribute malloc’ support… yes
checking for compiler ‘attribute const’ support… yes
checking for compiler ‘attribute unused’ support… yes
checking for compiler ‘attribute always_inline’ support… yes
checking for compiler ‘attribute deprecated’ support… yes
checking for compiler ‘attribute sentinel’ support… yes
checking for compiler ‘attribute warn_unused_result’ support… yes
checking for compiler ‘attribute weakref’ support… no
checking for -ffunction-sections support… yes
checking for --gc-sections support… yes
checking for -Wdeclaration-after-statement support… yes
checking for -Wtrampolines support… yes
checking for _FORTIFY_SOURCE support… yes
checking for -fno-strict-overflow… yes
checking for -Wshadow… yes
checking for -march=native support… yes
checking for -fnested-functions… no
checking for sysinfo… yes
checking for library containing res_9_ninit… no
checking for res_ninit… yes
checking for library containing res_9_ndestroy… no
checking for res_ndestroy… no
checking for library containing res_9_close… no
checking for res_close… no
checking for GLOB_NOMAGIC in glob.h… yes
checking for GLOB_BRACE in glob.h… yes
checking for IP_MTU_DISCOVER in netinet/in.h… yes
checking libkern/OSAtomic.h usability… no
checking libkern/OSAtomic.h presence… no
checking for libkern/OSAtomic.h… no
checking size of int… 4
checking size of long… 4
checking size of long long… 8
checking size of char *… 4
checking size of long… (cached) 4
checking size of long long… (cached) 8
checking size of fd_set.fds_bits… (cached) 4
checking for dladdr in dlfcn.h… yes
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for snd_spcm_init in -lasound… no
checking for bfd_openr in -lbfd… no
checking for bfd_check_format in -lbfd… no
checking for cap_from_text in -lcap… no
checking for DAHDI_RESET_COUNTERS in dahdi/user.h… yes
checking for DAHDI_POLICY_HALF_FULL in dahdi/user.h… yes
checking for enhanced dahdi vmwi support… yes
checking if “int foo = DAHDI_ECHOCANCEL_FAX_MODE” compiles using dahdi/user.h… yes
checking for getifaddrs() support… yes
checking for timerfd support… yes
checking for gsm_create in -lgsm… no
checking for ILBC… no
checking for LIBEDIT… no
checking for iconv_open in -liconv… no
checking for libiconv_open in -liconv… no
checking for iconv_close in -lc… yes
checking iconv.h usability… yes
checking iconv.h presence… yes
checking for iconv.h… yes
checking for icaltimezone_get_utc_timezone in -lical… no
checking for iks_start_sasl in -liksemel… no
checking for UW IMAP Toolkit c-client library… no
checking for system c-client library… no
checking for SQLConnect in -liodbc… no
checking for inotify_init in -lc… yes
checking sys/inotify.h usability… yes
checking sys/inotify.h presence… yes
checking for sys/inotify.h… yes
checking for jack_activate in -ljack… no
checking for kqueue in -lc… no
checking for kevent64… no
checking for lt_dlinit in -lltdl… no
checking for ldap_initialize in -lldap… no
checking for mISDN_open in -lmISDN… no
checking for mysql_config… no
checking for nbs_connect in -lnbs… no
checking for neon-config… no
checking for neon-config… no
checking for net-snmp-config… /usr/bin/net-snmp-config
checking for newtBell in -lnewt… no
checking for SQLConnect in -lodbc… no
checking for ogg_sync_init in -logg… no
checking for backtrace in -lexecinfo… no
checking for backtrace in -lc… yes
checking execinfo.h usability… yes
checking execinfo.h presence… yes
checking for execinfo.h… yes
checking for ba2str in -lbluetooth… no
checking linux/soundcard.h usability… yes
checking linux/soundcard.h presence… yes
checking for linux/soundcard.h… yes
checking for pg_config… no
checking for poptStrerror in -lpopt… no
checking for Pa_GetDeviceCount in -lportaudio… no
checking for pri_connected_line_update in -lpri… no
checking for pri_persistent_layer2_option in -lpri… no
checking for pri_date_time_send_option in -lpri… no
checking for pri_mwi_indicate_v2 in -lpri… no
checking for pri_display_text in -lpri… no
checking for pri_mwi_indicate in -lpri… no
checking for pri_mcid_enable in -lpri… no
checking for pri_connect_ack_enable in -lpri… no
checking for pri_aoc_events_enable in -lpri… no
checking for pri_transfer_enable in -lpri… no
checking for pri_cc_enable in -lpri… no
checking for pri_hangup_fix_enable in -lpri… no
checking for pri_sr_set_called_subaddress in -lpri… no
checking for pri_hold_enable in -lpri… no
checking for pri_reroute_enable in -lpri… no
checking for pri_sr_set_keypad_digits in -lpri… no
checking for pri_progress_with_cause in -lpri… no
checking for pri_set_inbanddisconnect in -lpri… no
checking for pri_maintenance_service in -lpri… no
checking for pri_sr_set_reversecharge in -lpri… no
checking for resample_open in -lresample… no
checking for minimum version of SpanDSP… no
checking for ss7_set_adjpc in -lss7… no
checking for openr2_chan_new in -lopenr2… no
checking /home/user1/pwlib/include/ptlib.h usability… no
checking /home/user1/pwlib/include/ptlib.h presence… no
checking for /home/user1/pwlib/include/ptlib.h… no
checking /usr/local/include/ptlib.h usability… no
checking /usr/local/include/ptlib.h presence… no
checking for /usr/local/include/ptlib.h… no
checking /usr/include/ptlib.h usability… no
checking /usr/include/ptlib.h presence… no
checking for /usr/include/ptlib.h… no
checking for luaL_newstate in -llua5.1… no
checking for luaL_register in -llua… no
checking for rc_read_config in -lradiusclient-ng… no
checking for cpg_join in -lcpg… no
checking for corosync_cfg_state_track in -lcfg… no
checking for speex_encode in -lspeex… no
checking for speex_preprocess_ctl in -lspeex… no
checking for speex_preprocess_ctl in -lspeexdsp… no
checking for sqlite_exec in -lsqlite… no
checking for sqlite3_open in -lsqlite3… yes
checking sqlite3.h usability… yes
checking sqlite3.h presence… yes
checking for sqlite3.h… yes
checking for AES_encrypt in -lcrypto… yes
checking openssl/aes.h usability… yes
checking openssl/aes.h presence… yes
checking for openssl/aes.h… yes
checking for SSL_connect in -lssl… yes
checking openssl/ssl.h usability… yes
checking openssl/ssl.h presence… yes
checking for openssl/ssl.h… yes
checking osp/osp.h usability… no
checking osp/osp.h presence… no
checking for osp/osp.h… no
checking for SSL_CTX_set_tlsext_use_srtp in -lssl… yes
checking for openssl/ssl.h… (cached) yes
checking for srtp_init in -lsrtp… no
checking for GMIME… no
checking for GMIME… no
checking for GMIME… no
checking for GMIME… no
checking for malloc in -lhoard… no
checking for dbinit in -lsybdb… no
checking for tone_zone_find_by_num in -ltonezone… yes
checking for tone_zone_find in -ltonezone… yes
checking dahdi/tonezone.h usability… yes
checking dahdi/tonezone.h presence… yes
checking for dahdi/tonezone.h… yes
checking for vorbis_info_init in -lvorbis… no
checking for OV_CALLBACKS_NOCLOSE declared in vorbis/vorbisfile.h… no
checking for vpb_open in -lvpb… no
checking for compress in -lz… yes
checking zlib.h usability… yes
checking zlib.h presence… yes
checking for zlib.h… yes
checking h323.h usability… no
checking h323.h presence… no
checking for h323.h… no
checking linux/compiler.h usability… no
checking linux/compiler.h presence… no
checking for linux/compiler.h… no
checking for linux/ixjuser.h… yes
checking for MSG_NOSIGNAL in sys/socket.h… yes
checking for SO_NOSIGPIPE in sys/socket.h… no
checking for sdl-config… no
checking for IMG_Load in -lSDL_image… no
checking for sws_getContext in -lavcodec… no
checking linux/videodev.h usability… no
checking linux/videodev.h presence… no
checking for linux/videodev.h… no
checking for XOpenDisplay in -lX11… no
checking for XOpenDisplay in -lX11… (cached) no
checking for /sbin/launchd… no
checking for GTK2… no
checking for LOG_AUTH in syslog.h… yes
checking for LOG_AUTHPRIV in syslog.h… yes
checking for LOG_CRON in syslog.h… yes
checking for LOG_DAEMON in syslog.h… yes
checking for LOG_FTP in syslog.h… yes
checking for LOG_KERN in syslog.h… yes
checking for LOG_LPR in syslog.h… yes
checking for LOG_MAIL in syslog.h… yes
checking for LOG_NEWS in syslog.h… yes
checking for LOG_SYSLOG in syslog.h… yes
checking for LOG_UUCP in syslog.h… yes
checking for mandatory modules: … ok
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
config.status: creating channels/h323/Makefile
config.status: creating include/asterisk/autoconfig.h
config.status: include/asterisk/autoconfig.h is unchanged

$.$. .$$$7. $$$$7 .7$$$. .$$$.
.777. .$$$$$$77$$$77$$$$$7. $$$,
$$$~ .7$$$$$$$$$$$$$7. .$$$.
.$$7 .7$$$$$$$7: ?$$$.
$$$ ?7$$$$$$$$$$I .$$$7
$$$ .7$$$$$$$$$$$$$$$$ :$$$.
$$$ $$$$$$7$$$$$$$$$$$$ .$$$.
$$$ $$$ 7$$$7 .$$$ .$$$.
$$$$ $$$$7 .$$$.
7$$$7 7$$$$ 7$$$
$$$$$ $$$
$$$$7. $$ ™
$$$$$$$. .7$$$$$$ $$
$$$$$$$$$$$$7$$$$$$$$$.$$$$$$
$$$$$$$$$$$$$$$$.

configure: Package configured for:
configure: OS type : linux-gnu
configure: Host CPU : i686
configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
configure: host-cpu:vendor:os: i686 : pc : linux-gnu :

Lucas Nussbaum

OpenWrt Forum Archive

Well, i started this out tyring to buidl netem on backfire 10.03.1 so used the official config file that is off the download site.  Then after giving up with gettign that on backfire I switched to trunk that supposedly includes netem by default.  Originally I had an empty config, so I wanted close to the backfire config, so I started with that and updated any missing/new options with the make  oldconfig.

Maybe a round about way to get there, but its what I did.

Oh, and looks like someone munged up the asterisk makefile a bit...

I looked at svn.openwrt.org/openwrt/packages revision 21419 which is the asterisk 1.4/1.6 levels.  It has this is the packages/net/asterisk-1.6.x/Makefile

define Package/asterisk16-chan-gtalk/conffiles   (NOTE THIS LINE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
/etc/asterisk/gtalk.conf
/etc/asterisk/jabber.conf
endef

In the latest revision, its now asterisk 1.8.x and in file  packages/net/asterisk-1.6.x/Makefile the same lines appear to be missing the define line:

(NOTE THE DEFILE LINE THAT SHOULD BE HERE IS MISSING.. previous line is endef from a mysql related package)
/etc/asterisk/gtalk.conf
/etc/asterisk/jabber.conf
endef


Not sure if its needed, but the new is also missing the following blurb from the same file:


ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk16-chan-gtalk),)
  CONFIGURE_ARGS+= \
        --with-gnutls="$(STAGING_DIR)/usr" \
        --with-iksemel="$(STAGING_DIR)/usr"
  SITE_VARS+= \
        ac_cv_lib_iksemel_iks_start_sasl=yes \
        ac_cv_lib_gnutls_gnutls_bye=yes
else
  CONFIGURE_ARGS+= \
        --without-gnutls \
        --without-iksemel
endif


However, even doing this, it fails to come up in the menu config... shows that the asterisk 1.8 stuff probalby needs some more looking at to clean up though...

lucas at lucas-nussbaum.nethttp://www.lucas-nussbaum.net/

Hi comunity,
i'm porting h263 stack on avr32 to anable it to do video and audio streaming.
I use for this experiment open source library from OPAL.
OPAL depend from PWLIB....and for this moment my errors are for this library.
In PWLIB directory i've change config.sub file and i've added "avr32" and "avr32-*" suffix; Then i launch the configuration phase:

./configure --prefix=/usr/avr32-linux --host=avr32-linux --disable-openldap --disable-openssl --enable-opal

.

If i look its output...i think that it work fine:

configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for avr32-linux-g++... avr32-linux-g++ 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 avr32-linux-g++ accepts -g... yes configure: PTLib version is 1.11.1 checking build system type... x86_64-unknown-linux-gnu checking host system type... avr32-unknown-linux-gnu checking target system type... avr32-unknown-linux-gnu configure: WARNING: "CPU avr32 not recognized - proceed with caution!" configure: OSTYPE set to linux configure: OSRELEASE set to "2.6.11-1.1369_FC4smp" configure: MACHTYPE set to avr32 configure: gcc version is 4.0.2 checking checking if pragma implementation should be used... no checking whether byte ordering is bigendian... yes checking if linker accepts -felide-constructors... yes checking if linker accepts -Wreorder... yes checking if debug build accepts -g3 -ggdb -O0... yes checking if compiler uses RTTI by default... no checking how to run the C++ preprocessor... avr32-linux-g++ -E checking for egrep... 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 for int... yes checking size of int... 4 checking for working long double with more range or precision than double... no checking for flex... /usr/bin/flex checking for ar... /usr/bin/ar checking for bison... /usr/bin/bison checking if readdir_r has 2 parms... no checking if readdir_r has 3 parms... yes checking for recvmsg... yes checking if using STL streams... no checking if atomic integer available... no checking if Unix semaphores are available... yes checking for pthread_create in -lpthread... yes checking if pthread_mutex_timedlock is available... yes checking for sem_timedwait in -lpthread... yes checking if sem_timedwait is compilable... yes checking if recursive mutexes are available... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp... yes 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 checking if plugins support needs to be compiled... plugins enabled checking for res_ninit... no checking for res_ninit in -lresolv... no checking for res_search... no checking for res_search in -lresolv... yes checking for sasl_version in -lsasl2... no checking for sasl_client_auth in sasl... no yes checking if

When i type "make" i see:

# make make P_SHAREDLIB=1 opt make[1]: Entering directory `/home/frank/source/h263/pwlib_v1_11_1' set -e; make -C src/ptlib/unix opt; make -C plugins opt; make[2]: Entering directory `/home/frank/source/h263/pwlib_v1_11_1/src/ptlib/unix' g++ -D_REENTRANT -Wall -fPIC -DPIC -I/home/frank/source/h263/pwlib_v1_11_1/include -Os -rtti -c ../common/vfakeio.cxx -o /home/frank/source/h263/pwlib_v1_11_1/lib/obj_linux_avr32_r/vfakeio.o g++: unrecognized option '-rtti' g++ -D_REENTRANT -Wall -fPIC -DPIC -I/home/frank/source/h263/pwlib_v1_11_1/include -Os -rtti -c ../common/videoio.cxx -o /home/frank/source/h263/pwlib_v1_11_1/lib/obj_linux_avr32_r/videoio.o g++: unrecognized option '-rtti' ....... ....... g++ -D_REENTRANT -Wall -fPIC -DPIC -I/home/frank/source/h263/pwlib_v1_11_1/include -Os -rtti -c ../common/ptime.cxx -o /home/frank/source/h263/pwlib_v1_11_1/lib/obj_linux_avr32_r/ptime.o g++: unrecognized option '-rtti' g++ -D_REENTRANT -Wall -fPIC -DPIC -I/home/frank/source/h263/pwlib_v1_11_1/include -Os -rtti -c ../common/osutils.cxx -o /home/frank/source/h263/pwlib_v1_11_1/lib/obj_linux_avr32_r/osutils.o g++: unrecognized option '-rtti' ../common/osutils.cxx: In member function ‘virtual void PThread::SetThreadName(const PString&)’: ../common/osutils.cxx:2218: error: cast from ‘PThread*’ to ‘INT’ loses precision ../common/osutils.cxx:2220: error: cast from ‘PThread*’ to ‘INT’ loses precision make[2]: *** [/home/frank/source/h263/pwlib_v1_11_1/lib/obj_linux_avr32_r/osutils.o] Error 1 make[2]: Leaving directory `/home/frank/source/h263/pwlib_v1_11_1/src/ptlib/unix' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/home/frank/source/h263/pwlib_v1_11_1' make: *** [optshared] Error 2

1. I don't understand why it use "g++" compilator when it find into configure step "avr32-linux-g++" and "avr32-linux-gcc".

2. Is the finally make error depended from dot one?

Thank a lot



More information about the Pkg-voip-maintainers mailing list