[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: released 2.99.46
- To: bruce@cs.ualberta.ca (Bruce Wm Folliott)
- Subject: Re: released 2.99.46
- From: Matti Aarnio <mea@nic.funet.fi>
- Date: Fri, 7 Feb 1997 22:03:20 +0200 (GMT)
- Cc: zmailer@nic.funet.fi
- In-Reply-To: <97Feb6.155455-0700_mst.13062-23535+158@scapa.cs.ualberta.ca> from "Bruce Wm Folliott" at Feb 6, 97 03:54:49 pm
I am copying privately received email to the list -- a breach of etiquette,
but I think you all will benefit from these replies -- and I don't need to
repeat them all... /Matti Aarnio
> > Keep sending me email/questions, I do try to respond, though
> > I am damn busy doing some other things..
>
> zmailer-2.99.46
> Reading specs from /usr/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/specs
> gcc version 2.7.2
> SunOS sedgewick 5.5 Generic_103093-06 sun4u sparc SUNW,Ultra-1
>
> gcc -I../include -I../libresolv -g -O2 -DUSELOOPBACK -c gethnamaddr.c
> In file included from gethnamaddr.c:73:
> ../include/syslog.h:153: parse error before `__'
> ../include/syslog.h:154: parse error before `__'
> ../include/syslog.h:158: parse error before `__'
?:-O -- no idea...
Unless there are some macros defining openlog, syslog, and closelog..
Umm.. can't find ?
> gcc -g -O2 -DHAVE_CONFIG_H -I.. -I../include -I../libresolv -c
> relaytest.c
> relaytest.c: In function `reldefine':
> relaytest.c:37: union has no member named `_db'
One missing character at reltest.h
> gcc -g -O2 -DHAVE_CONFIG_H -I.. -I../include -I../libsh -I../libresolv -c rfc822.c
> rfc822.c: In function `mkTrace':
> rfc822.c:947: warning: assignment discards `const' from pointer target type
I can silence it, but don't like it. Usually that pointer
is not used to refer on anything, but in a couple of cases
it refers to object that needs a change runtime..
Perhaps a cast could do it ? I will try.
> gcc -g -O2 -DHAVE_CONFIG_H -I../.. -I../../include -c sendmail.c
> sendmail.c: In function `check_and_print_to':
> sendmail.c:695: warning: initialization makes integer from pointer
> without a cast
> sendmail.c:714: warning: assignment makes integer from pointer without a cast
> sendmail.c:714: warning: assignment makes pointer from integer without a cast
> sendmail.c:714: warning: assignment makes pointer from integer without a cast
> sendmail.c:732: warning: passing arg 1 of `free' makes pointer from integer without a cast
Oops. 'char newcp' which should have been 'char *newcp' ...
> Got a few of these:
> gcc -g -O2 -DHAVE_CONFIG_H -I../.. -I../../include -o hold hold.o
> version.o -L../../libs -lta -lz -lzc -lmalloc -lresolv -lsocket
> Undefined first referenced
> symbol in file
> gethostbyname ../../libs/libzc.a(myhostname.o)
> (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> ld: fatal: Symbol referencing errors. No output written to hold
Yes, a result from trying to accomodate another case of
using Solaris, and having non-standard libresolver in it.
I pulled back into previous style, which does not support
autodetection of non-standard libresolv.
> Got similiar things on SunOS 4.1.4
Except this last one -- I hope..
> Bruce
/Matti Aarnio