ncpfs will not compile on redhat 6.0

ncpfs will not compile on redhat 6.0

Post by Hans Wildeboe » Fri, 25 Jun 1999 04:00:00



Hi all,

I try to setup my redhat 6 box on a Novell network, but the ncp
utilities are not compiling....

it returns the next errors:

gcc  -DSIGNATURES -DNDS_SUPPORT -DCONFIG_NATIVE_IP -DMOUNT2 -DMOUNT3
-DNCPFS_VERSION=\"2.2.0\" -O2 -Wall -I../include -D_GNU_SOURCE
-D__MAKE_SULIB__ -I../lib-static-su -o ncpmount.o -c ncpmount.c
ncpmount.c: In function `process_connection':
ncpmount.c:1261: `NR_OPEN' undeclared (first use in this function)
ncpmount.c:1261: (Each undeclared identifier is reported only once
ncpmount.c:1261: for each function it appears in.)
ncpmount.c:1296: warning: implicit declaration of function `__FD_ZERO'
ncpmount.c:1297: warning: implicit declaration of function `__FD_SET'
ncpmount.c:1303: warning: implicit declaration of function `__FD_ISSET'
make[1]: *** [ncpmount.o] Error 1
make[1]: Leaving directory `/home/hansw/inst/ncpfs-2.2.0/sutil'
make: *** [all] Error 2

does anyone what to do (edit the Makefile?) to make it compile? or are
there anywhere rpm's available?

please reply also by email

thanks,
        Hans

 
 
 

ncpfs will not compile on redhat 6.0

Post by Villy Kru » Fri, 25 Jun 1999 04:00:00




Quote:>Hi all,

>I try to setup my redhat 6 box on a Novell network, but the ncp
>utilities are not compiling....

And what is wrong with the ncpfs included with RH6.0?

Quote:> ....cut
>does anyone what to do (edit the Makefile?) to make it compile? or are
>there anywhere rpm's available?

You could start with the .src.rpm available on the redhat CD.  It is
possible that it has the required patchfiles to make it compile.  After
all, the package has been compiled on the redhat system.

Quote:

>please reply also by email

As a matter of principle I don't do this.

--
Villy

 
 
 

1. SATAN v1.1.1 [released] and v1.1.4 [experimental] both do not compile on Redhat 6.0.

ftp://ftp.porcupine.org/pub/security/satan-1.1.4exp.tar.gz -- Doesn't
compile.
ftp://ftp.porcupine.org/pub/security/satan-1.1.1.tar.Z -- Doesn't compile.

I heard that you need patches to get SATAN to compile on Redhat 6.0
Linux... Anyone know where to get the patches?

satan-1.1.1]# make linux
The LINUX rules are untested and may be wrong
make[1]: Entering directory `/tmp/satan-1.1.1'
cd src/misc; make "LIBS=" "XFLAGS=-I/tmp/satan-1.1.1/include
-DAUTH_GID_T=int" "RPCGEN=rpcgen"
make[2]: Entering directory `/tmp/satan-1.1.1/src/misc'
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int   -c md5.c -o md5.o
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int   -c md5c.c -o md5c.o
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int -o ../../bin/md5
md5.o md5c.o
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int -o
./../bin/sys_socket sys_socket.c
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int -o ../../bin/timeout
timeout.c
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int -o ../../bin/rcmd
rcmd.c
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int -o
./../bin/safe_finger safe_finger.c
rpcgen rex.x 2>/dev/null
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int   -c rex.c -o rex.o
rex.c: In function `rex_command':
rex.c:178: warning: passing arg 3 from incompatible pointer type
rex.c:178: warning: passing arg 5 from incompatible pointer type
rex.c: In function `rex_exit':
rex.c:222: warning: passing arg 3 from incompatible pointer type
rex.c:222: warning: passing arg 5 from incompatible pointer type
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int   -c rex_xdr.c -o
rex_xdr.o
rex_xdr.c: In function `xdr_rex_start':
rex_xdr.c:42: warning: assignment from incompatible pointer type
rex_xdr.c:72: warning: assignment from incompatible pointer type
cc -O -I. -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int -o ../../bin/rex
rex.o rex_xdr.o
make[2]: Leaving directory `/tmp/satan-1.1.1/src/misc'
cd src/boot; make "LIBS=" "XFLAGS=-I/tmp/satan-1.1.1/include
-DAUTH_GID_T=int" "RPCGEN=rpcgen"
make[2]: Entering directory `/tmp/satan-1.1.1/src/boot'
rpcgen bootparam_prot.x 2>/dev/null
cc -I. -O -I/tmp/satan-1.1.1/include -DAUTH_GID_T=int   -c boot.c -o boot.o
boot.c:24: macro `strchr' used without args
make[2]: *** [boot.o] Error 1
make[2]: Leaving directory `/tmp/satan-1.1.1/src/boot'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/satan-1.1.1'
make: *** [linux] Error 2

2. ssh: no RSA support in libssl and libcrypto. See ssl(8).

3. RedHat 4.1 (LSL): Got NCPFS.O, but not the utils (NCPMOUNT, etc)

4. problem with hard disk in installation

5. can't get ncpfs to work - 'Cannot open ncpfs'

6. How to use USR modem connect to the internet?

7. Running Solid 3 on RedHat 6.0 - compile errors

8. linux FDISK unable to read /dev/hda

9. How to compile nmh-1.0 in RedHat 6.0?

10. Compiling 2.2.x under RedHat 6.0

11. Failed to compile kdestable on RedHat 6.0

12. compiling the kernel in redhat 6.0

13. RedHat 5.2 -> 6.0 can't make xconfig & compile kernel