Subject: Re: Connecting Psion to NetBSD, help needed
To: Rudi Ludwig <rudihl@gmx.de>
From: Ola Eriksson <ola@mreriksson.net>
List: tech-pkg
Date: 02/13/2005 17:25:12
Hello,
p3nfs is available in wip/p3nfs, it was imported by someone else to be
ran under Linux, and I have committed the required patches to get it to
compile under NetBSD. However, I have not been able to use it on my
netbsd system yet. I expect this to be related to p3nfs expecting NFSv2
and netbsd is using v3 by default (if I have understood things correctly).
Anyway, the version in wip/p3nfs compiles under netbsd-systems, so I
guess that would be a good place to start :)
If anyone have time to look at this and do find a solution, please let
me know :)
Best regards,
Ola Eriksson
http://www.mrEriksson.net
Rudi Ludwig wrote:
>Hello,
>
>recently I bougt a used Psion Revo and wanted to connect it
>to my NetBSD box.
>
> I figured p3nfs <http://www.koeniglich.de/p3nfs.html>
><http://www.koeniglich.de/packages/p3nfs-5.16.tar.gz>
>was the way to go. And happily found in the changlog that it
>once ran on NetBSD, unfortunatly as of today it doesn't.
>
>OS: NetBSD i386 1.6
>GCC: gcc -v
> Using builtin specs.
> gcc version 2.95.3 20010315 (release) (NetBSD nb3)
>
>It gets stuck at:
>
>gcc -O2 -Wall -DDONT_UPDATE_MTAB -I. -c mp_mount.c
>mp_mount.c: In function `doexit':
>mp_mount.c:226: warning: implicit declaration of function `close'
>mp_mount.c:158: warning: unused variable `statb'
>mp_mount.c: In function `dosystem':
>mp_mount.c:239: warning: implicit declaration of function `vfork'
>mp_mount.c:240: warning: implicit declaration of function `setgid'
>mp_mount.c:241: warning: implicit declaration of function `setuid'
>mp_mount.c:242: warning: implicit declaration of function `execl'
>mp_mount.c: In function `mount_and_run':
>mp_mount.c:269: storage size of `nfs_args' isn't known
>mp_mount.c:278: warning: implicit declaration of function `bzero'
>mp_mount.c:282: sizeof applied to an incomplete type
>mp_mount.c:293: warning: implicit declaration of function `inet_addr'
>mp_mount.c:314: warning: int format, long int arg (arg 2)
>mp_mount.c:474: `NFSMNT_INT' undeclared (first use in this function)
>mp_mount.c:474: (Each undeclared identifier is reported only once
>mp_mount.c:474: for each function it appears in.)
>mp_mount.c:474: `NFSMNT_RETRANS' undeclared (first use in this function)
>mp_mount.c:475: `NFSMNT_TIMEO' undeclared (first use in this function)
>mp_mount.c:475: `NFSMNT_NOCONN' undeclared (first use in this function)
>mp ...
>
>Could someone more knowledgable than I look into this please. Once fixed
>would make a nice pkg, too.
>
>
>Thanks in advance
>
>Rudi
>
>