jpeach at sgi.com
Wed Aug 18 23:10:31 GMT 2004
On Wed, Aug 18, 2004 at 01:27:58PM -0500, Mark Nehemiah wrote:
> Hi James,
> I am the one with the KIP powerprint problems. I'm obviously not much
> of a programer, as I'm having trouble with compiling. I applied your
> patch against 3.0.6rc2 and found I didn't have a 'pathname.h', wasn't
> sure where to go. downloaded a pathname.h from fsf.org. tried to
> compile and I get
> Linking bin/smbd
> smbd/dir.o(.text+0x2156): In function `ReadDirName':
> : undefined reference to `ISDOT'
> smbd/dir.o(.text+0x2162): In function `ReadDirName':
> : undefined reference to `ISDOTDOT'
> collect2: ld returned 1 exit status
> gmake: *** [bin/smbd] Error 1
> Any idea where I should get pathname.h from or if I'm missing something else.
Oops, pathname.h must ba an IRIX-ism .. something like this is ok for
the definition of ISDOT and ISDOTDOT:
#define ISDOT(c) ((c) == '.' && ((c) == '\0' || (c) == '/'))
#define ISDOTDOT(c) ((c) == '.' && ISDOT(&((c))))
James Peach | jpeach at sgi.com | SGI Australian Software Group
I don't speak for SGI.
More information about the samba-technical