samba & QNX 6.1 ??

Has anyone gotten a samba server to work with QNX 6.1??

“Chris Goebel” <cgoebel@tridium.com> wrote in message
news:3BF2E4A9.5A0AD4FE@tridium.com

Has anyone gotten a samba server to work with QNX 6.1??

Yes, I think I’m have 2.2.1 .

I remember someone saying he got 2.2.2 running (the latest I think).

What problem are you having exactly?

  • Mario

here is what I did

dl samba 2.2.2
tar xzf
cd samba-2.2.2/source
…/configure
make

Compiling profile/profile.c
profile/profile.c: In function profile_setup': profile/profile.c:95: storage size of shm_ds’ isn’t known
profile/profile.c:119: `SHM_RDONLY’ undeclared (first use in this function)
profile/profile.c:119: (Each undeclared identifier is reported only once
profile/profile.c:119: for each function it appears in.)
cc: /usr/lib/gcc-lib/ntox86/2.95.2/cc1 error 33
make: *** [profile/profile.o] Error 1


shm_ds is declared as a “struct shmid_ds”, greping through header files shows
that this structure doesn’t exist. When I look at how it is supported on other
OS’s I found it in /usr/include/shm.h, unfortunately this file doesn’t appear to exist
on my machine. fyi, SHM_RDONLY is also found in shm.h

So as I see it:
-samba 2.2.2 isn’t using the correct API for shared memory OR
-I haven’t installed the correct build utilities/header files

Any other ideas?



Mario Charest wrote:

“Chris Goebel” <> cgoebel@tridium.com> > wrote in message
news:> 3BF2E4A9.5A0AD4FE@tridium.com> …
Has anyone gotten a samba server to work with QNX 6.1??


Yes, I think I’m have 2.2.1 .

I remember someone saying he got 2.2.2 running (the latest I think).

What problem are you having exactly?

  • Mario

“Chris Goebel” <cgoebel@tridium.com> wrote in message
news:3BF52D70.D0275E7@tridium.com

here is what I did

dl samba 2.2.2
tar xzf
cd samba-2.2.2/source
./configure
make
lotsa nice compile msgs
Compiling profile/profile.c
profile/profile.c: In function profile_setup': profile/profile.c:95: storage size of shm_ds’ isn’t known
profile/profile.c:119: `SHM_RDONLY’ undeclared (first use in this
function)
profile/profile.c:119: (Each undeclared identifier is reported only once
profile/profile.c:119: for each function it appears in.)
cc: /usr/lib/gcc-lib/ntox86/2.95.2/cc1 error 33
make: *** [profile/profile.o] Error 1


shm_ds is declared as a “struct shmid_ds”, greping through header files
shows
that this structure doesn’t exist. When I look at how it is supported on
other
OS’s I found it in /usr/include/shm.h, unfortunately this file doesn’t
appear to exist
on my machine. fyi, SHM_RDONLY is also found in shm.h

So as I see it:
-samba 2.2.2 isn’t using the correct API for shared memory OR
-I haven’t installed the correct build utilities/header files

Any other ideas?

I think profile must be disable. Under 2.2.1, people commented out the
content of
profile.c

Mario Charest wrote:

“Chris Goebel” <> cgoebel@tridium.com> > wrote in message
news:> 3BF2E4A9.5A0AD4FE@tridium.com> …
Has anyone gotten a samba server to work with QNX 6.1??


Yes, I think I’m have 2.2.1 .

I remember someone saying he got 2.2.2 running (the latest I think).

What problem are you having exactly?

  • Mario