[Samba] Problems compiling on QNX

Venkataramana. N venky at netlab.hcltech.com
Mon Aug 5 23:47:02 GMT 2002

Hi All,

  Im a newbie here, and im sorry if im repeating the question.

Im trying to compile samba 2.2.5 on QNX RTOS 6.2.0 x86pc. I am getting the following error.

Compiling printing/print_generic.c
Compiling printing/lpq_parse.c
Compiling printing/load.c
Compiling profile/profile.c
profile/profile.c: In function `profile_setup':
profile/profile.c:93: storage size of `shm_ds' isn't known
profile/profile.c:117: `SHM_RDONLY' undeclared (first use in this function)
profile/profile.c:117: (Each undeclared identifier is reported only once
profile/profile.c:117: for each function it appears in.)
make: *** [profile/profile.o] Error 1

I did ./configure, it worked fine.
i did "make", that gave me the above error.

Here are the versions:

# uname -a
QNX localhost 6.2.0 2002/05/21-12:17:24edt x86pc x86 

# make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for x86-pc-nto-qnx
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

Report bugs to <bug-make at gnu.org>.

# gcc -v
Reading specs from /usr/lib/gcc-lib/ntox86/2.95.3/specs
gcc version 2.95.3 20010315 (release)

How do i fix the problem?

Thanks in advance,
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the samba mailing list