kanondgeminis
Newbie
Offline
Posts: 1
|
 |
« Reply #180 on: August 05, 2008, 12:13:39 pm » |
|
Sorry for bother you... but, i can fix a "make" error for libnice.... i make de ./config without errors... but, when i try to "make" I receive this: make[3]: Entering directory `/installing/libnice/agent' if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I .. -I ../address -I ../random -I ../udp -I ../stun -g -O2 -MT discovery.lo -MD -MP -MF ".deps/discovery.Tpo" -c -o discovery.lo discovery.c; \ then mv -f ".deps/discovery.Tpo" ".deps/discovery.Plo"; else rm -f ".deps/discovery.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I .. -I ../address -I ../random -I ../udp -I ../stun -g -O2 -MT discovery.lo -MD -MP -MF .deps/discovery.Tpo -c discovery.c -fPIC -DPIC -o .libs/discovery.o cc1: warnings being treated as errors discovery.c: In function ‘priv_discovery_tick_unlocked’: discovery.c:608: warning: implicit declaration of function ‘stun_usage_turn_create’ discovery.c:608: warning: nested extern declaration of ‘stun_usage_turn_create’ make[3]: *** [discovery.lo] Error 1 make[3]: Leaving directory `/installing/libnice/agent' make[2]: *** [all] Error 2 make[2]: Leaving directory `/installing/libnice/agent' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/installing/libnice' make: *** [all] Error 2
Can you helpme please?
|
|
|
|
|
Logged
|
|
|
|
muratasenel
Newbie
Offline
Posts: 13
|
 |
« Reply #181 on: August 05, 2008, 03:00:00 pm » |
|
Do the followings please; cd libnice wget http://svn.pardus.org.tr/pardus/playground/murat/programming/libs/libnice/files/disable-Werror.patch patch -p0 < disable-Werror.patch make clean configure make ... it should work...
|
|
|
|
|
Logged
|
|
|
|
MastaG
Power user
Offline
Posts: 60
|
 |
« Reply #182 on: August 05, 2008, 05:01:25 pm » |
|
Do the followings please; cd libnice wget http://svn.pardus.org.tr/pardus/playground/murat/programming/libs/libnice/files/disable-Werror.patch patch -p0 < disable-Werror.patch make clean configure make ... it should work... yeah it did for me:) But when I try to build farsight2 it fails with this error: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -Werror -g -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/nice -g -O2 -MT libnice_transmitter_la-fs-nice-agent.lo -MD -MP -MF .deps/libnice_transmitter_la-fs-nice-agent.Tpo -c fs-nice-agent.c -fPIC -DPIC -o .libs/libnice_transmitter_la-fs-nice-agent.o cc1: warnings being treated as errors fs-nice-agent.c: In function 'fs_nice_agent_new': fs-nice-agent.c:409: error: passing argument 1 of 'nice_agent_new' from incompatible pointer type fs-nice-agent.c:409: error: incompatible type for argument 2 of 'nice_agent_new' fs-nice-agent.c:409: error: too many arguments to function 'nice_agent_new' make[3]: *** [libnice_transmitter_la-fs-nice-agent.lo] Fout 1 make[3]: Map '/home/mastag/src/farsight2/transmitters/nice' wordt verlaten make[2]: *** [all-recursive] Fout 1 make[2]: Map '/home/mastag/src/farsight2/transmitters' wordt verlaten make[1]: *** [all-recursive] Fout 1 make[1]: Map '/home/mastag/src/farsight2' wordt verlaten make: *** [all] Fout 2 [mastag@amd3000 farsight2]$ any ideas?
|
|
|
|
|
Logged
|
|
|
|
muratasenel
Newbie
Offline
Posts: 13
|
 |
« Reply #183 on: August 05, 2008, 05:51:17 pm » |
|
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #184 on: August 05, 2008, 08:05:49 pm » |
|
hi, sorry, just be patient, I'm still working on libnice and farsight2, the API is now being changed to make TURN support work. So for now, just forget about getting farsight2 to work, etc... and just wait until I finishe what I'm currently doing with the libnice refactoring.
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
fcastillo
Newbie
Offline
Posts: 14
|
 |
« Reply #185 on: August 06, 2008, 04:59:09 am » |
|
This post show some errors I was having and trying to fix myself, now I know I have to wait.... Thanks again, you can't imagine how much I appreciate the work you do.
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #186 on: August 08, 2008, 03:54:19 pm » |
|
hello all, I have *almost* finished my work... I need one more day and it should be done.. BUT, I don't have that one more day, I'm leaving for the airport in a few hours, and I won't be back until september... hopefully Ollivier (farsight2 maintainer) will try to keep this in a stable form, so you guys can have fun testing this during the month I'll be away... In theory, the latest GIT now should work fine, make sure you 'git pull' to get the latest changes on both libnice and farsight2.. there might be bugs though, so let's hope it all works fine! :p
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
muratasenel
Newbie
Offline
Posts: 13
|
 |
« Reply #187 on: August 08, 2008, 03:56:16 pm » |
|
hello all, I have *almost* finished my work... I need one more day and it should be done.. BUT, I don't have that one more day, I'm leaving for the airport in a few hours, and I won't be back until september... hopefully Ollivier (farsight2 maintainer) will try to keep this in a stable form, so you guys can have fun testing this during the month I'll be away... In theory, the latest GIT now should work fine, make sure you 'git pull' to get the latest changes on both libnice and farsight2.. there might be bugs though, so let's hope it all works fine! :p Take care and have a nice vacation 
|
|
|
|
|
Logged
|
|
|
|
Alfredo
Newbie
Offline
Posts: 12
|
 |
« Reply #188 on: August 08, 2008, 10:34:26 pm » |
|
Just had a go at installing farsight2 too, and ran into a number of problems of course. Most of them were due to not having the devel packages, which still confuses me (why aren't the errors understandable?). I encountered one problem while trying to "make" libnice, namely "format not a string literal and no format arguments". This was in upd-client.c, line 73. I believe this is due to the fact that -Wformat=2 in Ubuntu 8.10? Anyway, I think I fixed it by changing it to g_print "("%s", buf);".
EDIT - Just finished the installation and while the console doesn't give any errors with "package require Farsight", the Wizard complains that Farsight isn't loaded. Not that it really matters, I don't even have a webcam and I can't get my sound/mic to work properly in Ubuntu 8.10.
|
|
|
|
|
Logged
|
|
|
|
db2912
Newbie
Offline
Posts: 4
|
 |
« Reply #189 on: August 11, 2008, 08:51:26 am » |
|
Hello there, After many researches, I still have problems to compile libnice. So I decided to post in this forum. Thank you in advance for your help. When I run ./autogen.sh --prefix=/usr I have the following : didier@bureau:/opt/libnice$ sudo ./autogen.sh --prefix=/usr libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: You should add the contents of `m4/libtool.m4' to `aclocal.m4'. libtoolize: You should add the contents of `m4/ltoptions.m4' to `aclocal.m4'. libtoolize: You should add the contents of `m4/ltsugar.m4' to `aclocal.m4'. libtoolize: You should add the contents of `m4/ltversion.m4' to `aclocal.m4'. libtoolize: You should add the contents of `m4/lt~obsolete.m4' to `aclocal.m4'. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 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 AIX... no 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 build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for C/C++ restrict keyword... __restrict checking for variable-length arrays... yes checking whether to enable assertions... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking net/in.h usability... no checking net/in.h presence... no checking for net/in.h... no checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for clock_gettime in -lrt... yes checking for poll... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for OPENSSL... yes checking for GLIB... yes checking for GST... yes configure: creating ./config.status config.status: creating Makefile config.status: creating address/Makefile config.status: creating agent/Makefile config.status: creating tests/Makefile config.status: creating stun/Makefile config.status: creating stun/tests/Makefile config.status: creating stun/tools/Makefile config.status: creating local/Makefile config.status: creating udp/Makefile config.status: creating nice/Makefile config.status: creating nice/nice.pc config.status: creating random/Makefile config.status: creating gst/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands
When I run make, I have the following: didier@bureau:/opt/libnice$ sudo make cd . && /bin/bash /opt/libnice/missing --run autoheader rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: entrant dans le répertoire « /opt/libnice » Making all in address make[2]: entrant dans le répertoire « /opt/libnice/address » if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT address.lo -MD -MP -MF ".deps/address.Tpo" -c -o address.lo address.c; \ then mv -f ".deps/address.Tpo" ".deps/address.Plo"; else rm -f ".deps/address.Tpo"; exit 1; fi ../libtool: line 467: CDPATH: command not found ../libtool: line 1145: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 libtool: and run autoconf again. make[2]: *** [address.lo] Erreur 1 make[2]: quittant le répertoire « /opt/libnice/address » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /opt/libnice » make: *** [all] Erreur 2
What's wrong ?
|
|
|
|
|
Logged
|
|
|
|
Alfredo
Newbie
Offline
Posts: 12
|
 |
« Reply #190 on: August 11, 2008, 06:35:57 pm » |
|
I would assume you don't have libtool 2.2.4? Check your distro's packet manager, Ubuntu has v2.2.4-0ubuntu3 as the latest version.
|
|
|
|
|
Logged
|
|
|
|
db2912
Newbie
Offline
Posts: 4
|
 |
« Reply #191 on: August 11, 2008, 08:22:06 pm » |
|
Yes I have libtool 2.2.4. When I run libtool --version, I have : didier@bureau:/opt/libnice$ libtool --version ltmain.sh (GNU libtool) 2.2.4 Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
It seems that the problem is due to aclocal.m4 but I have no idea how to fix it. libtool: Version mismatch error. This is libtool 2.2.4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 libtool: and run autoconf again.
Any suggestion ?
|
|
|
|
|
Logged
|
|
|
|
|
Phil
|
 |
« Reply #192 on: August 11, 2008, 08:56:12 pm » |
|
autoreconf -vfi doesn't work ?
|
|
|
|
|
Logged
|
Phil
AMsn is great, and it will be greater :wink:
|
|
|
db2912
Newbie
Offline
Posts: 4
|
 |
« Reply #193 on: August 12, 2008, 06:52:15 am » |
|
Unfortunately, it doesn't. When I run autoreconf -vfi, I get : didier@bureau:/opt/libnice$ sudo autoreconf -vfi [sudo] password for didier: autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: You should add the contents of the following files to `aclocal.m4': libtoolize: `/usr/local/share/aclocal/libtool.m4' libtoolize: `/usr/local/share/aclocal/ltoptions.m4' libtoolize: `/usr/local/share/aclocal/ltversion.m4' libtoolize: `/usr/local/share/aclocal/ltsugar.m4' libtoolize: `/usr/local/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:28: installing `./config.guess' configure.ac:28: installing `./config.sub' autoreconf: Leaving directory `.'
I'm a little puzzled by "You should add the contents of the following files to aclocal.m4...". How can I do that ?
|
|
|
|
|
Logged
|
|
|
|
m33ts4k0z
Newbie
Offline
Posts: 2
|
 |
« Reply #194 on: August 12, 2008, 07:12:28 am » |
|
Hello guys, I'm new to the whole linux thing but with many great tutorials I've managed to get into the point. I love amsn and the only big drawback it has is the audio calls. I followed the instructions at the wiki on how to implement this feature but it didn't help me that much. However following kakaroto's instructions on page 12 of this thread made me able to compile everything correctly. amsn recognises the existance of farsight2 when I ./configure but when i start the program it says it's not installed. After shift+ctrl+C this is what I get: (amsn) 4 % package require Farsight 0.1 (amsn) 5 % farsight Prepare 1 Error while creating new session (0): Could not create GstRtpBin I have every dependency installed at at least the minimum version. If you need any other info let me know, it's just that I'm not such an expert with Linux. Thanks in advance
|
|
|
|
|
Logged
|
|
|
|
|