Re: [gnet] Mac OS X: Compiling fails



Looks like (to me) that Werror is still in efect.
do this:
1. make distclean or untar the clean source
2. grep -r -H "Werror" * (in the dir with the sources)
3. remove all Werror strings
4. build the package as usual

Dne sreda 1. januar 2003 09:51 je ROLUNCEDRXQM spammotel com napisal(a):
> Hi everybody,
>
> I hope you had a good start into 2003. Wish you the very best things!!!
>
> I tried to compile gnet 1.1.7 and unfortenately it fails. As I am not so
> firm with unix I tried to find some help on deja.com and in the discussion
> group, but removing the "Werror" in the config.status didn't help...
>
> Is there a precompiled package which I can download? I would like to use
> the "eDonkey2000 GTK" Front-End, perhaps there is a compiled package to.
>
> Here's the error I get:
> [iMac:/Temporary Items/gnet-1.1.7] tmaier% make
> make  all-recursive
> Making all in src
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -DG_LOG_DOMAIN=\"GNet\"   -I/usr/local/include/glib-1.2
> -I/usr/local/lib/glib/include     -traditional-cpp -Wall
> -Wstrict-prototypes                     -Wmissing-prototypes
> -Wmissing-declarations -Werror -D_REENTRANT -DGNET_EXPERIMENTAL -c
> inetaddr.c rm -f .libs/inetaddr.lo
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GNet\"
> -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
> -traditional-cpp -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Werror -D_REENTRANT -DGNET_EXPERIMENTAL -c
> inetaddr.c  -fno-common -DPIC -o .libs/inetaddr.lo cc1: warnings being
> treated as errors
> inetaddr.c: In function `gnet_inetaddr_get_interface_to':
> inetaddr.c:2278: warning: passing arg 3 of `getsockname' from incompatible
> pointer type make[2]: *** [inetaddr.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
>
> Here are the ENV and the SET settings:
> HOME=/Users/tmaier
> SHELL=/bin/tcsh
> USER=tmaier
> LANG=en
> PATH=/bin:/sbin:/usr/bin:/usr/sbin
> __CF_USER_TEXT_ENCODING=0x1F5:0:0
> TERM=vt100
> TERMCAP=���
> TERM_PROGRAM=Apple_Terminal
> TERM_PROGRAM_VERSION=81
> LOGNAME=tmaier
> HOSTTYPE=macintosh
> VENDOR=apple
> OSTYPE=darwin
> MACHTYPE=powerpc
> SHLVL=1
> PWD=/Temporary Items/gnet-1.1.7
> GROUP=staff
> HOST=iMac.local.
> CFLAGS=-traditional-cpp
>
>
> --- SET
> GLIB_CONIFG     /usr/local/bin/
> addsuffix
> argv    ()
> cwd     /Temporary Items/gnet-1.1.7
> dirstack        /Temporary Items/gnet-1.1.7
> echo_style      bsd
> edit
> gid     20
> group   staff
> history 100
> loginsh
> path    (/bin /sbin /usr/bin /usr/sbin)
> prompt  [%m:%c3] %n%#
> prompt2 %R?
> prompt3 CORRECT>%R (y|n|e|a)?
> promptchars     %#
> shell   /bin/tcsh
> shlvl   1
> status  0
> tcsh    6.10.00
> term    vt100
> tty     ttyp3
> uid     501
> version tcsh 6.10.00 (Astron) 2000-11-19 (powerpc-apple-darwin) options
> 8b,nls,dl,al,sm,rh,color
>
> Any help?
>
> Thanks,
> Michael
>
> ___________________________________________________________________________
>___ Nutzen Sie Ihre Zeit fur wirklich wichtige Dinge! Alle E-Mail-Adressen
> zentral verwalten unter: http://freemail.web.de/features/?mc=021121
>
> _______________________________________________
> gnet mailing list
> gnet gnetlibrary org
> http://www.gnetlibrary.org/mailman/listinfo/gnet




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