a sun wrote:
> 
> hi all,
> 
> i've made pre-asun2.1.4-29.tar.gz available. please check it out. it
> should compile on solaris again. in addition, i need reports for the
> *bsd machines. i just got one for netbsd, but it was strange.

Hi!

A report for FreeBSD 3.2-STABLE i386:

I tried compiling with both standard gcc version 2.7.2.1 and egcs-1.1.2.
Both work fine.

I had to remove -ldl from the etc/uams/Makefile, since FreeBSD doesn't
seem to have that lib, AFAIK. For what it's worth, I enclose the patch
*just for reference*. It will of course break other platforms. :)

The only thing I found was a warning (nothing special, I guess don't
bother?):

gcc -p -DBSD4_4 -DSENDFILE_FLAVOR_BSD -O2 -I../../include -c
ad_sendfile.c
ad_sendfile.c: In function `ad_readfile':
ad_sendfile.c:62: warning: passing arg 6 of `sendfile' from incompatible
pointer type
ld -r -o ad_sendfile.o- ad_sendfile.o
mv ad_sendfile.o- profiled/ad_sendfile.o
gcc -DBSD4_4 -DSENDFILE_FLAVOR_BSD -O2 -I../../include -c ad_sendfile.c
ad_sendfile.c: In function `ad_readfile':
ad_sendfile.c:62: warning: passing arg 6 of `sendfile' from incompatible
pointer type

Apart from that, it compliled fine. I commented out CRACKDIR, DESDIR and
CRYPTODIR from the Makefile, and issued 'make'.

/Palle
--- etc/uams/Makefile~  Thu Jun 10 20:24:44 1999
+++ etc/uams/Makefile   Fri Jun 18 03:09:38 1999
@@ -46,7 +46,7 @@
            CRYPTODEFS="-DUAM_RNDNUM -DUAM_DHX"; \
        fi; \
        if [ x"${PAMDIR}" != x ]; then \
-           PAMLIBS="-lpam -ldl"; \
+           PAMLIBS="-lpam"; \
            if [ "${PAMDIR}" != "/usr" ]; then \
              PAMLIBDIRS="-L${PAMDIR}/lib"; \
              PAMINCPATH="-I${PAMDIR}/include"; \

Reply via email to