[AG-TECH] building rat for AG3 on ubuntu edgy

Christoph Willing willing at vislab.uq.edu.au
Wed Mar 7 19:19:17 CST 2007


On 08/03/2007, at 9:02 AM, Brad Langhorst wrote:

> I'm having trouble building AG...
> using the instructions at
> http://www-new.mcs.anl.gov/fl/research/accessgrid/software/cvs- 
> instructions.html
>
> is that the right set of instructions?
>
> I can build many of the ag-media components but not rat
>
> gcc -g -O2 -W -Wall -Wwrite-strings -Wbad-function-cast
> -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Werror
> -DHAVE_CONFIG_H  -c rtp.c
> cc1: warnings being treated as errors

Brad,


Its the -Werror option which causes warnings to be treated as errors  
and halting compilation. You could try removing that option from the  
Makefile and see what happens.


chris


> rtp.c: In function ‘rtp_recv_data’:
> rtp.c:1365: warning: pointer targets in passing argument 2 of  
> ‘udp_recv’
> differ in signedness
> rtp.c:1394: warning: pointer targets in assignment differ in  
> signedness
> rtp.c: In function ‘rtp_recv’:
> rtp.c:1885: warning: pointer targets in passing argument 2 of  
> ‘udp_recv’
> differ in signedness
> rtp.c: In function ‘rtp_send_data’:
> rtp.c:2201: warning: pointer targets in assignment differ in  
> signedness
> rtp.c:2245: warning: pointer targets in passing argument 2 of  
> ‘udp_send’
> differ in signedness
> rtp.c: In function ‘rtp_send_data_iov’:
> rtp.c:2286: warning: pointer targets in assignment differ in  
> signedness
> rtp.c: In function ‘send_rtcp’:
> rtp.c:2680: warning: pointer targets in passing argument 2 of  
> ‘udp_send’
> differ in signedness
> rtp.c: In function ‘rtp_send_bye_now’:
> rtp.c:2868: warning: pointer targets in passing argument 2 of  
> ‘udp_send’
> differ in signedness
> rtp.c: In function ‘rtp_send_bye’:
> rtp.c:2931: warning: pointer targets in passing argument 2 of  
> ‘udp_recv’
> differ in signedness
> rtp.c: In function ‘des_encrypt’:
> rtp.c:3156: warning: pointer targets in passing argument 1 of ‘qfDES’
> differ in signedness
> rtp.c: In function ‘des_decrypt’:
> rtp.c:3164: warning: pointer targets in passing argument 1 of ‘qfDES’
> differ in signedness
> make: *** [rtp.o] Error 1
> bwlang at upup:/usr/src/ag-media/common/src$ gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --enable-languages=c,c
> ++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls --program-suffix=-4.1
> --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
> --enable-mpfr --enable-checking=release i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
>
>
> I could not find any archives to search ... I hope this is not a  
> common
> problem.
>
> Should I just turn off the warnings?
>
> brad
>

Christoph Willing                       +61 7 3365 8350
QCIF Access Grid Manager
University of Queensland






More information about the ag-tech mailing list