Re: [gnet-dev] with one-line fix, gnet-1.1.8 builds RPMs cleanly on redhat 8.0



For what it's worth, the actual problem is gcc3.x and glib 1.2.x... glib
2.x does not suffer from this warning. The warning appears around calls to
g_htonl() etc. functions... which I assume have been implemented in
assembler.

On Saturday, 2003-03-15 at 04:35:15 PM, pehr pehr net scribbled:
> Dear Gnet folks,
> 
> I just wanted to post a quick note on the packaging.
> This looks great and things look really good.
> 
> On redhat 8.0, rpm is split into rpm and rpmbuild.
> One can build binary rpms from a tar.gz file by
> running "rpmbuild -ta gnet-1.1.8.tar.gz".
> 
> You have everything set up exactly right for this to
> work, except, by turning on debugging, the rpmbuild does
> not get through the "make".
> These warnings are interpreted as errors.
> 
> inetaddr.c:1938: warning: const qualifier ignored on asm
> inetaddr.c: In function `gnet_inetaddr_is_multicast':
> inetaddr.c:1967: warning: const qualifier ignored on asm
> inetaddr.c: In function `gnet_inetaddr_hash':
> inetaddr.c:2031: warning: const qualifier ignored on asm
> inetaddr.c:2032: warning: const qualifier ignored on asm
> inetaddr.c: In function `gnet_inetaddr_new_any':
> inetaddr.c:2192: warning: con
> 
> Simply removing the "--enable-debugging=yes" line from
> the file "gnet.spec.in" will cause the tar.gz files
> created by "make dist" to work correctly on redhat 8.0,
> giving warnings, but not treating the warnings as fatal.
> 
> My applogies if someone is working on fixing the warnings,
> but I thought I'd post a note since I was so pleased at
> how easy it was to get things working.
> 
> Thanks for making Gnet!!
> 
>    --pehr
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> gnet-dev mailing list
> gnet-dev gnetlibrary org
> http://www.gnetlibrary.org/mailman/listinfo/gnet-dev

-- 
Benjamin Lee
Melbourne, Australia             "Always real."    http://realthought.net/

__________________________________________________________________________
You know you've landed gear-up when it takes full power to taxi.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]