Some updates on the build system below. Please read on! The bulk of the invasive changes to the FreeSWITCH(tm) autotools build system are now in tree. We will be continuing to refine the system over time, but the bulk of the changes are now in tree. The important changes are as follows: The build targets are now more in line with typical packages. make: will build all the sourcecode and libraries make install: will install. make uninstall: will uninstall. make clean: will clean the build files The old targets (installall, modules, sure, modclean, modwipe, megaclean, ect) still all generally behave as they did before. For the libraries we have in tree, we, for the most part, now statically link to them and do not install them. This should resolve much of the issues reported in regards to the need for LD_LIBRARY_PATH and system library conflicts. The FreeSWITCH(tm) build will now use a system version of the curl library if it detects a usable version at configure time. We will probably add some more libraries to this list over time, as we review any patches that we have in the libs that we have in tree, and get those patches back to the library maintainers. This will be a long process due to the amount of libraries and the amount of changes in many of them. We will likely be doing some changes to the url's you checkout from svn to give you options on what libs you download. We will continue to use statically linked libraries in certain cases where we see performance or other benefits to doing so. These will most likely be configure options. We have started the process of building binary packages for FreeSWITCH(tm) svn snapshots. The first of these are at: http://software.opensuse.org/download/server:/telephony/ We are looking for people who are willing to write the appropriate files for operating systems and distros that are not covered by that list. In particular, for BSD ports, gentoo, and debian. If you are willing to lend a hand, please drop me a line. All of the auto-tools generated files have now been removed from the svn tree. If you are building from svn, you will need to have autoconf, automake and libtool installed, and run ./bootstrap.sh and configure. I highly suggest using -C on your configure line, it speeds up the configure quite a bit. We will have a location for pre-bootstrapped source tarballs soon. In the mean time, if anyone could give me feedback on any boostrap/configure/make failures on different platforms. Known issues currently are as follows: OsX builds are currently broken unless you manually change apr to build shared libraries, and install them. This I plan on fixing today. Bsd users can now use the standard bsd make for everything except the sofia-sip library. I am also working on addressing this issue. Any other issues please let me know (best to track bugs on jira.freeswitch.org), and I will follow up with another update to the list soon. Mike.
A quick follow up on this. You NEED automake 1.7 or later to bootstrap. I just came across a debian box with 1.4 on it, and it failed quite badly. Please make sure you have at least automake 1.7 if you plan to bootstrap. Mike
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Tuesday, March 20, 2007 10:21 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Build system/RPM's
Some updates on the build system below. Please read on!
The bulk of the invasive changes to the FreeSWITCH(tm) autotools build system are now in tree. We will be continuing to refine the system over time, but the bulk of the changes are now in tree. The important changes are as follows:
The build targets are now more in line with typical packages.
make: will build all the sourcecode and libraries
make install: will install.
make uninstall: will uninstall.
make clean: will clean the build files
The old targets (installall, modules, sure, modclean, modwipe, megaclean, ect) still all generally behave as they did before.
For the libraries we have in tree, we, for the most part, now statically link to them and do not install them. This should resolve much of the issues reported in regards to the need for LD_LIBRARY_PATH and system library conflicts.
The FreeSWITCH(tm) build will now use a system version of the curl library if it detects a usable version at configure time. We will probably add some more libraries to this list over time, as we review any patches that we have in the libs that we have in tree, and get those patches back to the library maintainers. This will be a long process due to the amount of libraries and the amount of changes in many of them.
We will likely be doing some changes to the url's you checkout from svn to give you options on what libs you download. We will continue to use statically linked libraries in certain cases where we see performance or other benefits to doing so. These will most likely be configure options.
We have started the process of building binary packages for FreeSWITCH(tm) svn snapshots. The first of these are at:
http://software.opensuse.org/download/server:/telephony/
We are looking for people who are willing to write the appropriate files for operating systems and distros that are not covered by that list. In particular, for BSD ports, gentoo, and debian. If you are willing to lend a hand, please drop me a line.
All of the auto-tools generated files have now been removed from the svn tree. If you are building from svn, you will need to have autoconf, automake and libtool installed, and run ./bootstrap.sh and configure. I highly suggest using -C on your configure line, it speeds up the configure quite a bit. We will have a location for pre-bootstrapped source tarballs soon. In the mean time, if anyone could give me feedback on any boostrap/configure/make failures on different platforms. Known issues currently are as follows:
OsX builds are currently broken unless you manually change apr to build shared libraries, and install them. This I plan on fixing today.
Bsd users can now use the standard bsd make for everything except the sofia-sip library. I am also working on addressing this issue.
Any other issues please let me know (best to track bugs on jira.freeswitch.org), and I will follow up with another update to the list soon.
Mike.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Hi, i want to use G.722 with its wide audio bandwith of 7kHz. But i have found that FreeSwitch resamples always from 16000 to 8000 Samples/s if i connect a "standard device", i. e. a SIP device with a "G722:9/8000" in its SDP. On the other side it is possible to use full bandwith if there is a "G722:9/16000" in SDP. I think this is not correct! FreeSwitch should always use 16000S/s and also use "G722:9/8000" in SDP! Read RFC3551, 4.5.2: ...Even though the actual sampling rate for G.722 audio is 16,000 Hz, the RTP clock rate for the G722 payload format is 8,000 Hz because that value was erroneously assigned in RFC 1890 and must remain unchanged for backward compatibility. ... I tried the 16kHz-implementation with a SIP phone (siemens optipoint 410 with "G722:9/8000") and it seems to work. In the g722.h file is mentioned that the 8k option is used for fast and flexible interworking with narrow band telephony. I think this is a special case (we also support G711 for this). Our default should be 16000S/s and "G722:9/8000". What do u think? Thomas
i want to use G.722 with its wide audio bandwith of 7kHz. But i have found that FreeSwitch resamples always from 16000 to 8000 Samples/s if i connect a "standard device", i. e. a SIP device with a "G722:9/8000" in its SDP.
On the other side it is possible to use full bandwith if there is a "G722:9/16000" in SDP.
I think this is not correct! FreeSwitch should always use 16000S/s and also use "G722:9/8000" in SDP!
Read RFC3551, 4.5.2: ...Even though the actual sampling rate for G.722 audio is 16,000 Hz, the RTP clock rate for the G722 payload format is 8,000 Hz because that value was erroneously assigned in RFC 1890 and must remain unchanged for backward compatibility. ...
You won't get any argument from me on this. We do advertise G722/8000 and G722/16000 but in all reality G722/16000 should be moved up to the dynamic range. /b
Hi... I'm trying to build FS with mod_mono on gentoo with trunk 4678.... I have added languages/mod_mono to modules.conf but I get errors when it is doing make in mono... Is this the correct way to build mod_mono ? Regards Martin -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: 20. marts 2007 15:21 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Build system/RPM's Some updates on the build system below. Please read on! The bulk of the invasive changes to the FreeSWITCH(tm) autotools build system are now in tree. We will be continuing to refine the system over time, but the bulk of the changes are now in tree. The important changes are as follows: The build targets are now more in line with typical packages. make: will build all the sourcecode and libraries make install: will install. make uninstall: will uninstall. make clean: will clean the build files The old targets (installall, modules, sure, modclean, modwipe, megaclean, ect) still all generally behave as they did before. For the libraries we have in tree, we, for the most part, now statically link to them and do not install them. This should resolve much of the issues reported in regards to the need for LD_LIBRARY_PATH and system library conflicts. The FreeSWITCH(tm) build will now use a system version of the curl library if it detects a usable version at configure time. We will probably add some more libraries to this list over time, as we review any patches that we have in the libs that we have in tree, and get those patches back to the library maintainers. This will be a long process due to the amount of libraries and the amount of changes in many of them. We will likely be doing some changes to the url's you checkout from svn to give you options on what libs you download. We will continue to use statically linked libraries in certain cases where we see performance or other benefits to doing so. These will most likely be configure options. We have started the process of building binary packages for FreeSWITCH(tm) svn snapshots. The first of these are at: http://software.opensuse.org/download/server:/telephony/ We are looking for people who are willing to write the appropriate files for operating systems and distros that are not covered by that list. In particular, for BSD ports, gentoo, and debian. If you are willing to lend a hand, please drop me a line. All of the auto-tools generated files have now been removed from the svn tree. If you are building from svn, you will need to have autoconf, automake and libtool installed, and run ./bootstrap.sh and configure. I highly suggest using -C on your configure line, it speeds up the configure quite a bit. We will have a location for pre-bootstrapped source tarballs soon. In the mean time, if anyone could give me feedback on any boostrap/configure/make failures on different platforms. Known issues currently are as follows: OsX builds are currently broken unless you manually change apr to build shared libraries, and install them. This I plan on fixing today. Bsd users can now use the standard bsd make for everything except the sofia-sip library. I am also working on addressing this issue. Any other issues please let me know (best to track bugs on jira.freeswitch.org), and I will follow up with another update to the list soon. Mike. _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello I am unable to build fs. http://pastebin.freeswitch.org/409 I have autoconf, automake, libtool installed. Is there anything what i need to install. It seems make can't find rpath.. I don't know what is it. I need install something else? Thanks, Tamas Michael Jerris wrote:
Some updates on the build system below. Please read on!
The bulk of the invasive changes to the FreeSWITCH(tm) autotools build system are now in tree. We will be continuing to refine the system over time, but the bulk of the changes are now in tree. The important changes are as follows:
The build targets are now more in line with typical packages.
make: will build all the sourcecode and libraries
make install: will install.
make uninstall: will uninstall.
make clean: will clean the build files
The old targets (installall, modules, sure, modclean, modwipe, megaclean, ect) still all generally behave as they did before.
For the libraries we have in tree, we, for the most part, now statically link to them and do not install them. This should resolve much of the issues reported in regards to the need for LD_LIBRARY_PATH and system library conflicts.
The FreeSWITCH(tm) build will now use a system version of the curl library if it detects a usable version at configure time. We will probably add some more libraries to this list over time, as we review any patches that we have in the libs that we have in tree, and get those patches back to the library maintainers. This will be a long process due to the amount of libraries and the amount of changes in many of them.
We will likely be doing some changes to the url's you checkout from svn to give you options on what libs you download. We will continue to use statically linked libraries in certain cases where we see performance or other benefits to doing so. These will most likely be configure options.
We have started the process of building binary packages for FreeSWITCH(tm) svn snapshots. The first of these are at:
http://software.opensuse.org/download/server:/telephony/
We are looking for people who are willing to write the appropriate files for operating systems and distros that are not covered by that list. In particular, for BSD ports, gentoo, and debian. If you are willing to lend a hand, please drop me a line.
All of the auto-tools generated files have now been removed from the svn tree. If you are building from svn, you will need to have autoconf, automake and libtool installed, and run ./bootstrap.sh and configure. I highly suggest using -C on your configure line, it speeds up the configure quite a bit. We will have a location for pre-bootstrapped source tarballs soon. In the mean time, if anyone could give me feedback on any boostrap/configure/make failures on different platforms. Known issues currently are as follows:
OsX builds are currently broken unless you manually change apr to build shared libraries, and install them. This I plan on fixing today.
Bsd users can now use the standard bsd make for everything except the sofia-sip library. I am also working on addressing this issue.
Any other issues please let me know (best to track bugs on jira.freeswitch.org), and I will follow up with another update to the list soon.
Mike.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
What versions of autoconf automake and libtool do you have on that box?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: Tuesday, March 20, 2007 11:45 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Build system/RPM's
Hello
I am unable to build fs. http://pastebin.freeswitch.org/409 I have autoconf, automake, libtool installed. Is there anything what i need to install. It seems make can't find rpath.. I don't know what is it. I need install something else?
Thanks, Tamas
Hello, I had automake1.4, so this was the inital problem, i saw your mail to late :-[ but i upgraded it. now i have: autoconf 2.60-1 automake1.9 1.9.6-4 libtool 1.5.22-4 and i have still building problems: i done ./bootsrap.sh ./configure -C prefix=/usr/local/freeswitch-cstomi make .... (cd .libs && rm -f libfreeswitch.la && ln -s ../libfreeswitch.la libfreeswitch.la) gcc -I/home/cstomi/freeswitch_trunk/src/include -I/usr/local/freeswitch-cstomi//include -fPIC -Werror -g -O2 -Wall -std=c99 -pedantic -o .libs/freeswitch freeswitch-switch.o -L/usr/local/freeswitch-cstomi//lib -lm -L/usr/local/lib /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so -Wl,--rpath -Wl,/usr/local/freeswitch-cstomi//lib /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `dlerror' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_create' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_getspecific' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_rdlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_init' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_destroy' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_destroy' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_wait' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_post' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_unlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `apr_generate_random_bytes' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_unlink' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `dlclose' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_detach' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_once' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_key_create' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_close' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_attr_setstacksize' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `dlopen' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_wrlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_sigmask' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `dlsym' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_settype' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_setpshared' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_open' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_trywrlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_tryrdlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_init' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_attr_setguardsize' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutex_trylock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_join' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status make[2]: *** [freeswitch] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Thanks Tamas Michael Jerris wrote:
What versions of autoconf automake and libtool do you have on that box?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: Tuesday, March 20, 2007 11:45 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Build system/RPM's
Hello
I am unable to build fs. http://pastebin.freeswitch.org/409 I have autoconf, automake, libtool installed. Is there anything what i need to install. It seems make can't find rpath.. I don't know what is it. I need install something else?
Thanks, Tamas
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
This appears to be a symptom of libtool 1.5.6 which is quite broken, and appears to be on many machines. Did you have 1.5.6 on previously? If you ./libtool --version in the root FreeSWITCH(tm) source dir, what does it give you? I just had this same thing happen on a box even after upgrading to 1.5.22 because I installed libtool from source using the default prefix /usr/local and the one in /usr was still taking precedence. I had to install to /usr to get it to work right. Also, as a note, I changed the checks in our bootstrap as of svn r4683 to no longer bootstrap with libtool 1.5.6 due to this issue. And clearly we will need to have pre-bootstrapped source tarballs out there very soon for those who do not have appropriate autotools versions. I am working on that now. Mike
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: Tuesday, March 20, 2007 12:56 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Build system/RPM's
Hello,
I had automake1.4, so this was the inital problem, i saw your mail to late :-[
but i upgraded it. now i have: autoconf 2.60-1 automake1.9 1.9.6-4 libtool 1.5.22-4
and i have still building problems:
i done ./bootsrap.sh ./configure -C prefix=/usr/local/freeswitch-cstomi make
.... (cd .libs && rm -f libfreeswitch.la && ln -s ../libfreeswitch.la libfreeswitch.la) gcc -I/home/cstomi/freeswitch_trunk/src/include -I/usr/local/freeswitch-cstomi//include -fPIC -Werror -g -O2 -Wall -std=c99 -pedantic -o .libs/freeswitch freeswitch-switch.o -L/usr/local/freeswitch-cstomi//lib -lm -L/usr/local/lib /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so -Wl,--rpath -Wl,/usr/local/freeswitch-cstomi//lib /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `dlerror' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_create' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_getspecific' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_rdlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_init' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_destroy' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_destroy' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_wait' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_post' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_unlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `apr_generate_random_bytes' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_unlink' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `dlclose' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_detach' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_once' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_key_create' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_close' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_attr_setstacksize' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `dlopen' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_wrlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_sigmask' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `dlsym' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_settype' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_setpshared' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `sem_open' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_trywrlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_rwlock_tryrdlock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_init' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_attr_setguardsize' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_mutex_trylock' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_join' /home/cstomi/freeswitch_trunk/.libs/libfreeswitch.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status make[2]: *** [freeswitch] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Thanks Tamas
Michael Jerris wrote:
What versions of autoconf automake and libtool do you have on that box?
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-
users-bounces@lists.freeswitch.org] On Behalf Of Tamas Cseke Sent: Tuesday, March 20, 2007 11:45 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Build system/RPM's
Hello
I am unable to build fs. http://pastebin.freeswitch.org/409 I have autoconf, automake, libtool installed. Is there anything what i need to install. It seems make can't find rpath.. I don't know what is it. I need install something else?
Thanks, Tamas
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-user s
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Big updates today on this. Problems building on OSx appear to now be resolved. Problems building on debian and ubuntu also appear to be resolved. Please note, on the version of libtool. I have seen many systems that have 1.5.6 installed. I know it is a pain to upgrade, but 1.5.6 is badly broken. I currently have the bootstrap failing at the start with any libtool 1.5.6 or older, however I have not tried any versions between 1.5.6 and 1.5.22. Please note that the changes over the last couple days have been quite invasive. If you have any issues bootstrapping or building, please start by trying to checkout a fresh tree to a different directory and seeing if that will build. Please report back any additional errors as before and thanks for sticking with us through all of this. Mike
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Tuesday, March 20, 2007 1:45 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Build system/RPM's
This appears to be a symptom of libtool 1.5.6 which is quite broken, and appears to be on many machines. Did you have 1.5.6 on previously? If you ./libtool --version in the root FreeSWITCH(tm) source dir, what does it give you? I just had this same thing happen on a box even after upgrading to 1.5.22 because I installed libtool from source using the default prefix /usr/local and the one in /usr was still taking precedence. I had to install to /usr to get it to work right.
Also, as a note, I changed the checks in our bootstrap as of svn r4683 to no longer bootstrap with libtool 1.5.6 due to this issue. And clearly we will need to have pre-bootstrapped source tarballs out there very soon for those who do not have appropriate autotools versions. I am working on that now.
Mike
This is the log! Regards Martin ---------------------------------------------------------- making languages/mod_mono --16:49:01-- http://svn.freeswitch.org/downloads/libs/configure => `configure' Resolving svn.freeswitch.org... 208.64.200.155 Connecting to svn.freeswitch.org|208.64.200.155|:80... connected. HTTP request sent, awaiting response... 404 Not Found 16:49:01 ERROR 404: Not Found. /root/freeswitch.trunk/build/buildlib.sh: line 49: ftp: command not found cannot find configure --16:49:01-- http://svn.freeswitch.org/downloads/libs/configure => `configure' Resolving svn.freeswitch.org... 208.64.200.155 Connecting to svn.freeswitch.org|208.64.200.155|:80... connected. HTTP request sent, awaiting response... 404 Not Found 16:49:01 ERROR 404: Not Found. /root/freeswitch.trunk/build/buildlib.sh: line 49: ftp: command not found cannot find configure --16:49:01-- http://svn.freeswitch.org/downloads/libs/configure => `configure' Resolving svn.freeswitch.org... 208.64.200.155 Connecting to svn.freeswitch.org|208.64.200.155|:80... connected. HTTP request sent, awaiting response... 404 Not Found 16:49:01 ERROR 404: Not Found. /root/freeswitch.trunk/build/buildlib.sh: line 49: ftp: command not found cannot find configure --16:49:02-- http://svn.freeswitch.org/downloads/libs/configure => `configure' Resolving svn.freeswitch.org... 208.64.200.155 Connecting to svn.freeswitch.org|208.64.200.155|:80... connected. HTTP request sent, awaiting response... 404 Not Found 16:49:02 ERROR 404: Not Found. /root/freeswitch.trunk/build/buildlib.sh: line 49: ftp: command not found cannot find configure Compiling mod_mono.c... Package mono was not found in the pkg-config search path. Perhaps you should add the directory containing `mono.pc' to the PKG_CONFIG_PATH environment variable No package 'mono' found In file included from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/appdomain.h:13:18: error: glib.h: No such file or directory In file included from /usr/local/include/mono/metadata/metadata.h:9, from /usr/local/include/mono/metadata/class.h:4, from /usr/local/include/mono/metadata/object.h:4, from /usr/local/include/mono/metadata/appdomain.h:15, from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/image.h:6:21: error: gmodule.h: No such file or directory In file included from /usr/local/include/mono/metadata/metadata.h:9, from /usr/local/include/mono/metadata/class.h:4, from /usr/local/include/mono/metadata/object.h:4, from /usr/local/include/mono/metadata/appdomain.h:15, from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/image.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' /usr/local/include/mono/metadata/image.h:20: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:52: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:53: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:54: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:57: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:59: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_image_get_entry_point' /usr/local/include/mono/metadata/image.h:63: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/image.h:66: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:67: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:68: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:69: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_image_is_dynamic' /usr/local/include/mono/metadata/image.h:71: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:73: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:74: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_image_lookup_resource' /usr/local/include/mono/metadata/image.h:83: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:84: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_image_strong_name_position' /usr/local/include/mono/metadata/image.h:86: error: expected ')' before '*' token /usr/local/include/mono/metadata/image.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_image_has_authenticode_entry' In file included from /usr/local/include/mono/metadata/class.h:4, from /usr/local/include/mono/metadata/object.h:4, from /usr/local/include/mono/metadata/appdomain.h:15, from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/metadata.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/metadata.h:180: error: expected specifier-qualifier-list before 'gint32' /usr/local/include/mono/metadata/metadata.h:190: error: expected specifier-qualifier-list before 'gint32' /usr/local/include/mono/metadata/metadata.h:199: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/metadata.h:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_decode_row_col' /usr/local/include/mono/metadata/metadata.h:213: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:220: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:221: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:223: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:224: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:225: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:226: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:228: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_typedef_from_field' /usr/local/include/mono/metadata/metadata.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_typedef_from_method' /usr/local/include/mono/metadata/metadata.h:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_nested_in_typedef' /usr/local/include/mono/metadata/metadata.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_nesting_typedef' /usr/local/include/mono/metadata/metadata.h:233: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/metadata.h:235: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_events_from_typedef' /usr/local/include/mono/metadata/metadata.h:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_methods_from_event' /usr/local/include/mono/metadata/metadata.h:237: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_properties_from_typedef' /usr/local/include/mono/metadata/metadata.h:238: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_methods_from_property' /usr/local/include/mono/metadata/metadata.h:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_packing_from_typedef' /usr/local/include/mono/metadata/metadata.h:240: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:241: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_custom_attrs_from_index' /usr/local/include/mono/metadata/metadata.h:243: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_implmap_from_method' /usr/local/include/mono/metadata/metadata.h:249: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_get_constant_index' /usr/local/include/mono/metadata/metadata.h:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_decode_value' /usr/local/include/mono/metadata/metadata.h:262: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_decode_signed_value' /usr/local/include/mono/metadata/metadata.h:264: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_decode_blob_size' /usr/local/include/mono/metadata/metadata.h:267: error: expected ')' before 'value' /usr/local/include/mono/metadata/metadata.h:275: error: expected specifier-qualifier-list before 'guint32' /usr/local/include/mono/metadata/metadata.h:304: error: expected specifier-qualifier-list before 'MonoClass' /usr/local/include/mono/metadata/metadata.h:317: error: expected specifier-qualifier-list before 'MonoClass' /usr/local/include/mono/metadata/metadata.h:342: error: expected specifier-qualifier-list before 'guint16' /usr/local/include/mono/metadata/metadata.h:356: error: expected specifier-qualifier-list before 'guint32' /usr/local/include/mono/metadata/metadata.h:377: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_type_is_byref' /usr/local/include/mono/metadata/metadata.h:387: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/metadata.h:393: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/metadata.h:400: error: expected declaration specifiers or '...' before 'gpointer' /usr/local/include/mono/metadata/metadata.h:403: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_signature_get_param_count' /usr/local/include/mono/metadata/metadata.h:406: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_signature_get_call_conv' /usr/local/include/mono/metadata/metadata.h:412: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_signature_is_instance' /usr/local/include/mono/metadata/metadata.h:415: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_signature_explicit_this' /usr/local/include/mono/metadata/metadata.h:417: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_parse_typedef_or_ref' /usr/local/include/mono/metadata/metadata.h:420: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:424: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:428: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:433: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:436: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:439: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:443: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:451: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_type_generic_inst_is_valuetype' /usr/local/include/mono/metadata/metadata.h:452: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_generic_class_is_valuetype' /usr/local/include/mono/metadata/metadata.h:453: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_generic_class_hash' /usr/local/include/mono/metadata/metadata.h:454: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_generic_class_equal' /usr/local/include/mono/metadata/metadata.h:456: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_type_hash' /usr/local/include/mono/metadata/metadata.h:457: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_type_equal' /usr/local/include/mono/metadata/metadata.h:459: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:463: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:466: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:472: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_signature_equal' /usr/local/include/mono/metadata/metadata.h:475: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_signature_hash' /usr/local/include/mono/metadata/metadata.h:477: error: expected ')' before '*' token /usr/local/include/mono/metadata/metadata.h:482: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/metadata.h:482: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/metadata.h:485: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/metadata.h:485: error: expected declaration specifiers or '...' before 'gboolean' /usr/local/include/mono/metadata/metadata.h:491: error: expected declaration specifiers or '...' before 'gpointer' /usr/local/include/mono/metadata/metadata.h:494: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_type_to_unmanaged' /usr/local/include/mono/metadata/metadata.h:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_token_from_dor' /usr/local/include/mono/metadata/metadata.h:517: error: expected ';', ',' or ')' before '*' token /usr/local/include/mono/metadata/metadata.h:519: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_metadata_declsec_from_index' In file included from /usr/local/include/mono/metadata/class.h:6, from /usr/local/include/mono/metadata/object.h:4, from /usr/local/include/mono/metadata/appdomain.h:15, from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/loader.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/loader.h:12: error: expected ')' before '*' token /usr/local/include/mono/metadata/loader.h:15: error: expected ')' before '*' token /usr/local/include/mono/metadata/loader.h:18: error: expected ')' before '*' token /usr/local/include/mono/metadata/loader.h:24: error: expected declaration specifiers or '...' before 'MonoImage' /usr/local/include/mono/metadata/loader.h:24: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/loader.h:27: error: expected declaration specifiers or '...' before 'MonoImage' /usr/local/include/mono/metadata/loader.h:27: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/loader.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/loader.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_method_get_token' /usr/local/include/mono/metadata/loader.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_method_get_flags' /usr/local/include/mono/metadata/loader.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_method_get_index' /usr/local/include/mono/metadata/loader.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/loader.h:54: error: expected declaration specifiers or '...' before 'gconstpointer' /usr/local/include/mono/metadata/loader.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_lookup_internal_call' /usr/local/include/mono/metadata/loader.h:60: error: expected ')' before '*' token /usr/local/include/mono/metadata/loader.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_lookup_pinvoke_call' /usr/local/include/mono/metadata/loader.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_method_get_param_token' /usr/local/include/mono/metadata/loader.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_method_has_marshal_info' /usr/local/include/mono/metadata/loader.h:81: error: expected ')' before 'func' /usr/local/include/mono/metadata/loader.h:85: error: expected ')' before 'func' In file included from /usr/local/include/mono/metadata/object.h:4, from /usr/local/include/mono/metadata/appdomain.h:15, from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/class.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/class.h:17: error: expected specifier-qualifier-list before 'MonoVTable' /usr/local/include/mono/metadata/class.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:32: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:44: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:62: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:74: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:77: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_get_field_token' /usr/local/include/mono/metadata/class.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_get_event_token' /usr/local/include/mono/metadata/class.h:86: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_get_property_token' /usr/local/include/mono/metadata/class.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_array_element_size' /usr/local/include/mono/metadata/class.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_instance_size' /usr/local/include/mono/metadata/class.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_array_element_size' /usr/local/include/mono/metadata/class.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_data_size' /usr/local/include/mono/metadata/class.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_value_size' /usr/local/include/mono/metadata/class.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_min_align' /usr/local/include/mono/metadata/class.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_is_subclass_of' /usr/local/include/mono/metadata/class.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_is_assignable_from' /usr/local/include/mono/metadata/class.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_ldtoken' /usr/local/include/mono/metadata/class.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:136: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_is_valuetype' /usr/local/include/mono/metadata/class.h:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_is_enum' /usr/local/include/mono/metadata/class.h:142: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:144: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:151: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_class_get_flags' /usr/local/include/mono/metadata/class.h:157: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:160: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:163: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:166: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:169: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:172: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:175: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:178: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:181: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:184: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:187: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:190: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:209: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_field_get_flags' /usr/local/include/mono/metadata/class.h:221: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_property_get_flags' /usr/local/include/mono/metadata/class.h:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/class.h:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_event_get_flags' /usr/local/include/mono/metadata/class.h:250: error: expected ')' before '*' token /usr/local/include/mono/metadata/class.h:253: error: expected ')' before '*' token In file included from /usr/local/include/mono/metadata/appdomain.h:15, from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/object.h:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/object.h:27: error: expected specifier-qualifier-list before 'MonoVTable' /usr/local/include/mono/metadata/object.h:32: error: expected specifier-qualifier-list before 'guint32' /usr/local/include/mono/metadata/object.h:41: error: expected specifier-qualifier-list before 'guint32' /usr/local/include/mono/metadata/object.h:48: error: expected specifier-qualifier-list before 'gint32' /usr/local/include/mono/metadata/object.h:53: error: expected declaration specifiers or '...' before '*' token /usr/local/include/mono/metadata/object.h:53: error: 'gpointer' declared as function returning a function /usr/local/include/mono/metadata/object.h:73: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:76: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:80: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:83: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:86: error: expected declaration specifiers or '...' before 'MonoImage' /usr/local/include/mono/metadata/object.h:86: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/object.h:89: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:89: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/object.h:92: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:93: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/object.h:93: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/object.h:96: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:102: error: expected ';', ',' or ')' before '*' token /usr/local/include/mono/metadata/object.h:105: error: expected declaration specifiers or '...' before 'gint32' /usr/local/include/mono/metadata/object.h:108: error: expected declaration specifiers or '...' before 'MonoImage' /usr/local/include/mono/metadata/object.h:108: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/object.h:123: error: expected declaration specifiers or '...' before 'guint' /usr/local/include/mono/metadata/object.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/object.h:132: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_string_equal' /usr/local/include/mono/metadata/object.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_string_hash' /usr/local/include/mono/metadata/object.h:141: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/object.h:150: error: 'mono_object_unbox' declared as function returning a function /usr/local/include/mono/metadata/object.h:156: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:159: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:162: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_monitor_try_enter' /usr/local/include/mono/metadata/object.h:168: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_monitor_enter' /usr/local/include/mono/metadata/object.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_object_get_size' /usr/local/include/mono/metadata/object.h:183: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:193: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:220: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:220: error: 'mono_load_remote_field' declared as function returning a function /usr/local/include/mono/metadata/object.h:223: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:226: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:229: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:238: error: 'mono_compile_method' declared as function returning a function /usr/local/include/mono/metadata/object.h:241: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/object.h:248: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:254: error: expected ')' before '*' token /usr/local/include/mono/metadata/object.h:279: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_gchandle_new' /usr/local/include/mono/metadata/object.h:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_gchandle_new_weakref' /usr/local/include/mono/metadata/object.h:281: error: expected ')' before 'gchandle' /usr/local/include/mono/metadata/object.h:282: error: expected ')' before 'gchandle' In file included from /usr/local/include/mono/metadata/appdomain.h:16, from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/reflection.h:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/reflection.h:14: error: expected specifier-qualifier-list before 'GList' /usr/local/include/mono/metadata/reflection.h:21: error: expected specifier-qualifier-list before 'guint32' /usr/local/include/mono/metadata/reflection.h:28: error: expected specifier-qualifier-list before 'MonoImage' /usr/local/include/mono/metadata/reflection.h:40: error: expected specifier-qualifier-list before 'guint8' /usr/local/include/mono/metadata/reflection.h:51: error: expected declaration specifiers or '...' before 'MonoTypeNameParse' /usr/local/include/mono/metadata/reflection.h:52: error: expected ')' before '*' token /usr/local/include/mono/metadata/reflection.h:53: error: expected declaration specifiers or '...' before 'MonoImage' /usr/local/include/mono/metadata/reflection.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_reflection_get_token' /usr/local/include/mono/metadata/reflection.h:57: error: expected declaration specifiers or '...' before 'MonoImage' /usr/local/include/mono/metadata/reflection.h:58: error: expected declaration specifiers or '...' before 'MonoImage' /usr/local/include/mono/metadata/reflection.h:60: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/reflection.h:61: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/reflection.h:62: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/reflection.h:63: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/reflection.h:70: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/reflection.h:76: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/reflection.h:78: error: expected ')' before '*' token /usr/local/include/mono/metadata/reflection.h:80: error: expected ')' before '*' token /usr/local/include/mono/metadata/reflection.h:82: error: expected ')' before '*' token /usr/local/include/mono/metadata/reflection.h:83: error: expected ')' before '*' token /usr/local/include/mono/metadata/reflection.h:84: error: expected ')' before '*' token /usr/local/include/mono/metadata/reflection.h:85: error: expected declaration specifiers or '...' before 'guint32' /usr/local/include/mono/metadata/reflection.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_custom_attrs_has_attr' /usr/local/include/mono/metadata/reflection.h:87: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/reflection.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_flags_from_method' /usr/local/include/mono/metadata/reflection.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_flags_from_class' /usr/local/include/mono/metadata/reflection.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_flags_from_assembly' /usr/local/include/mono/metadata/reflection.h:123: error: expected specifier-qualifier-list before 'guint32' /usr/local/include/mono/metadata/reflection.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_get_demands' /usr/local/include/mono/metadata/reflection.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_get_linkdemands' /usr/local/include/mono/metadata/reflection.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_get_inheritdemands_class' /usr/local/include/mono/metadata/reflection.h:136: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_get_inheritdemands_method' /usr/local/include/mono/metadata/reflection.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_get_method_action' /usr/local/include/mono/metadata/reflection.h:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_get_class_action' /usr/local/include/mono/metadata/reflection.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_declsec_get_assembly_action' In file included from /usr/local/include/mono/metadata/appdomain.h:17, from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/mempool.h:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/mempool.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/mempool.h:12: error: expected ')' before '*' token /usr/local/include/mono/metadata/mempool.h:15: error: expected ')' before '*' token /usr/local/include/mono/metadata/mempool.h:18: error: expected ')' before '*' token /usr/local/include/mono/metadata/mempool.h:21: error: expected ')' before '*' token /usr/local/include/mono/metadata/mempool.h:24: error: expected ')' before '*' token /usr/local/include/mono/metadata/mempool.h:28: error: expected ')' before '*' token /usr/local/include/mono/metadata/mempool.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_mempool_contains_addr' In file included from /usr/local/include/mono/jit/jit.h:11, from mod_mono.c:32: /usr/local/include/mono/metadata/appdomain.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/appdomain.h:23: error: expected ')' before 'tid' /usr/local/include/mono/metadata/appdomain.h:43: error: expected declaration specifiers or '...' before 'MonoThreadStartCB' /usr/local/include/mono/metadata/appdomain.h:44: error: expected declaration specifiers or '...' before 'MonoThreadAttachCB' /usr/local/include/mono/metadata/appdomain.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_runtime_is_shutting_down' /usr/local/include/mono/metadata/appdomain.h:71: error: expected ')' before 'domainid' /usr/local/include/mono/metadata/appdomain.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_domain_get_id' /usr/local/include/mono/metadata/appdomain.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_domain_set' /usr/local/include/mono/metadata/appdomain.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_domain_is_unloading' /usr/local/include/mono/metadata/appdomain.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_domain_finalize' /usr/local/include/mono/metadata/appdomain.h:95: error: expected declaration specifiers or '...' before 'gboolean' /usr/local/include/mono/metadata/appdomain.h:98: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_domain_has_type_resolve' /usr/local/include/mono/metadata/appdomain.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_domain_owns_vtable_slot' /usr/local/include/mono/metadata/appdomain.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:136: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:160: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:166: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:169: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:175: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/appdomain.h:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from mod_mono.c:32: /usr/local/include/mono/jit/jit.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MonoDomain' In file included from mod_mono.c:33: /usr/local/include/mono/metadata/assembly.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' /usr/local/include/mono/metadata/assembly.h:15: error: expected declaration specifiers or '...' before 'gboolean' /usr/local/include/mono/metadata/assembly.h:22: error: expected declaration specifiers or '...' before 'gboolean' /usr/local/include/mono/metadata/assembly.h:23: error: expected ')' before '*' token /usr/local/include/mono/metadata/assembly.h:25: error: expected ')' before '*' token /usr/local/include/mono/metadata/assembly.h:32: error: expected declaration specifiers or '...' before 'gboolean' /usr/local/include/mono/metadata/assembly.h:33: error: expected ')' before '*' token /usr/local/include/mono/metadata/assembly.h:34: error: expected ')' before '*' token /usr/local/include/mono/metadata/assembly.h:35: error: expected ')' before '*' token /usr/local/include/mono/metadata/assembly.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/assembly.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar' /usr/local/include/mono/metadata/assembly.h:40: error: expected ')' before 'func' /usr/local/include/mono/metadata/assembly.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/mono/metadata/assembly.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_assembly_fill_assembly_name' /usr/local/include/mono/metadata/assembly.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_assembly_names_equal' /usr/local/include/mono/metadata/assembly.h:77: error: expected declaration specifiers or '...' before 'gchar' In file included from mod_mono.c:34: /usr/local/include/mono/metadata/environment.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/environment.h:16: error: expected ')' before 'value' In file included from mod_mono.c:35: /usr/local/include/mono/metadata/tokentype.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' In file included from mod_mono.c:36: /usr/local/include/mono/metadata/debug-helpers.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' /usr/local/include/mono/metadata/debug-helpers.h:11: error: expected ')' before '*' token /usr/local/include/mono/metadata/debug-helpers.h:12: error: expected ')' before '*' token /usr/local/include/mono/metadata/debug-helpers.h:18: error: expected specifier-qualifier-list before 'MonoDisIndenter' /usr/local/include/mono/metadata/debug-helpers.h:23: error: expected ')' before '*' token /usr/local/include/mono/metadata/debug-helpers.h:24: error: expected ')' before '*' token /usr/local/include/mono/metadata/debug-helpers.h:28: error: expected ')' before '*' token /usr/local/include/mono/metadata/debug-helpers.h:31: error: expected declaration specifiers or '...' before 'gboolean' /usr/local/include/mono/metadata/debug-helpers.h:33: error: expected declaration specifiers or '...' before 'gboolean' /usr/local/include/mono/metadata/debug-helpers.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_method_desc_match' /usr/local/include/mono/metadata/debug-helpers.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_method_desc_full_match' /usr/local/include/mono/metadata/debug-helpers.h:38: error: expected declaration specifiers or '...' before 'MonoClass' /usr/local/include/mono/metadata/debug-helpers.h:39: error: expected declaration specifiers or '...' before 'MonoImage' /usr/local/include/mono/metadata/debug-helpers.h:41: error: expected declaration specifiers or '...' before 'gboolean' In file included from mod_mono.c:38: /usr/local/include/mono/metadata/threads.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS' /usr/local/include/mono/metadata/threads.h:23: error: expected ')' before 'start_cb' /usr/local/include/mono/metadata/threads.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_thread_has_appdomain_ref' /usr/local/include/mono/metadata/threads.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_threads_abort_appdomain_threads' /usr/local/include/mono/metadata/threads.h:46: error: 'thread_start_compile_func' declared as function returning a function /usr/local/include/mono/metadata/threads.h:47: error: expected ')' before 'tid' /usr/local/include/mono/metadata/threads.h:48: error: expected ';' before 'void' /usr/local/include/mono/metadata/threads.h:54: error: expected ')' before 'tid' /usr/local/include/mono/metadata/threads.h:61: error: expected ')' before 'func' /usr/local/include/mono/metadata/threads.h:63: error: expected ')' before 'stacksize' /usr/local/include/mono/metadata/threads.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_threads_get_default_stacksize' /usr/local/include/mono/metadata/threads.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_alloc_special_static_data' /usr/local/include/mono/metadata/threads.h:66: error: expected ')' before 'offset' /usr/local/include/mono/metadata/threads.h:74: error: expected ')' before 'running_managed' /usr/local/include/mono/metadata/threads.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mono_thread_interruption_requested' /usr/local/include/mono/metadata/threads.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from /usr/include/stdlib.h:43, from /root/freeswitch.trunk/src/include/switch.h:55, from mod_mono.c:40: /usr/include/bits/waitstatus.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'union' mod_mono.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token mod_mono.c:63: error: expected specifier-qualifier-list before 'MonoClass' mod_mono.c: In function 'switch_module_load': mod_mono.c:99: error: 'apr_finfo_t' undeclared (first use in this function) mod_mono.c:99: error: (Each undeclared identifier is reported only once mod_mono.c:99: error: for each function it appears in.) mod_mono.c:99: error: 'assembly_finfo' undeclared (first use in this function) mod_mono.c:99: error: expected expression before ')' token cc1: warnings being treated as errors mod_mono.c:104: warning: implicit declaration of function 'apr_stat' mod_mono.c:128: warning: implicit declaration of function 'mono_jit_init' mod_mono.c:128: warning: assignment makes pointer from integer without a cast mod_mono.c:147: error: 'apr_ssize_t' undeclared (first use in this function) mod_mono.c:147: error: 'key_length' undeclared (first use in this function) mod_mono.c:154: error: 'mono_plugin' has no member named 'object' mod_mono.c: In function 'mod_mono_load_modules': mod_mono.c:181: error: 'apr_finfo_t' undeclared (first use in this function) mod_mono.c:181: error: 'module_finfo' undeclared (first use in this function) mod_mono.c:181: error: expected expression before ')' token mod_mono.c:188: error: 'apr_dir_t' undeclared (first use in this function) mod_mono.c:188: error: 'module_dir_handle' undeclared (first use in this function) mod_mono.c:192: error: expected ';' before 'finfo' mod_mono.c:193: error: 'apr_int32_t' undeclared (first use in this function) mod_mono.c:193: error: expected ';' before 'finfo_flags' mod_mono.c:197: error: 'MonoImage' undeclared (first use in this function) mod_mono.c:197: error: 'image' undeclared (first use in this function) mod_mono.c:199: error: invalid lvalue in assignment mod_mono.c:202: warning: implicit declaration of function 'apr_dir_open' mod_mono.c:206: warning: implicit declaration of function 'apr_dir_read' mod_mono.c:206: error: 'finfo' undeclared (first use in this function) mod_mono.c:206: error: 'finfo_flags' undeclared (first use in this function) mod_mono.c:209: error: expected expression before ')' token mod_mono.c:212: error: 'APR_REG' undeclared (first use in this function) mod_mono.c:237: warning: implicit declaration of function 'mono_assembly_get_image' mod_mono.c:242: error: 'mono_plugin' has no member named 'class' mod_mono.c:242: warning: implicit declaration of function 'mod_mono_find_assembly_class' mod_mono.c:244: error: 'mono_plugin' has no member named 'class' mod_mono.c:247: error: 'mono_plugin' has no member named 'object' mod_mono.c:247: error: 'mono_plugin' has no member named 'class' mod_mono.c:247: error: too many arguments to function 'mono_object_new' mod_mono.c:249: warning: implicit declaration of function 'mono_image_get_name' mod_mono.c: At top level: mod_mono.c:259: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token make[5]: *** [mod_mono.o] Error 1 make[4]: *** [all] Error 1 make[3]: *** [all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: 20. marts 2007 15:21 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Build system/RPM's Some updates on the build system below. Please read on! The bulk of the invasive changes to the FreeSWITCH(tm) autotools build system are now in tree. We will be continuing to refine the system over time, but the bulk of the changes are now in tree. The important changes are as follows: The build targets are now more in line with typical packages. make: will build all the sourcecode and libraries make install: will install. make uninstall: will uninstall. make clean: will clean the build files The old targets (installall, modules, sure, modclean, modwipe, megaclean, ect) still all generally behave as they did before. For the libraries we have in tree, we, for the most part, now statically link to them and do not install them. This should resolve much of the issues reported in regards to the need for LD_LIBRARY_PATH and system library conflicts. The FreeSWITCH(tm) build will now use a system version of the curl library if it detects a usable version at configure time. We will probably add some more libraries to this list over time, as we review any patches that we have in the libs that we have in tree, and get those patches back to the library maintainers. This will be a long process due to the amount of libraries and the amount of changes in many of them. We will likely be doing some changes to the url's you checkout from svn to give you options on what libs you download. We will continue to use statically linked libraries in certain cases where we see performance or other benefits to doing so. These will most likely be configure options. We have started the process of building binary packages for FreeSWITCH(tm) svn snapshots. The first of these are at: http://software.opensuse.org/download/server:/telephony/ We are looking for people who are willing to write the appropriate files for operating systems and distros that are not covered by that list. In particular, for BSD ports, gentoo, and debian. If you are willing to lend a hand, please drop me a line. All of the auto-tools generated files have now been removed from the svn tree. If you are building from svn, you will need to have autoconf, automake and libtool installed, and run ./bootstrap.sh and configure. I highly suggest using -C on your configure line, it speeds up the configure quite a bit. We will have a location for pre-bootstrapped source tarballs soon. In the mean time, if anyone could give me feedback on any boostrap/configure/make failures on different platforms. Known issues currently are as follows: OsX builds are currently broken unless you manually change apr to build shared libraries, and install them. This I plan on fixing today. Bsd users can now use the standard bsd make for everything except the sofia-sip library. I am also working on addressing this issue. Any other issues please let me know (best to track bugs on jira.freeswitch.org), and I will follow up with another update to the list soon. Mike. _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Brian West
-
Martin Sørensen
-
Michael Jerris
-
Sluschny, Thomas
-
Tamas Cseke