Unix Technical Forum

Building Samba version 3.0.1 on OSR5.0.6

This is a discussion on Building Samba version 3.0.1 on OSR5.0.6 within the Sco Unix forums, part of the Unix Operating Systems category; --> All, As per the subject I'm trying [unsuccessfully!] to build Samba 3.0.1 on an Open Server 5.0.6 system. The ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 12:47 PM
Stuart Marshall
 
Posts: n/a
Default Building Samba version 3.0.1 on OSR5.0.6

All,

As per the subject I'm trying [unsuccessfully!] to build Samba 3.0.1 on
an Open Server 5.0.6 system.

The system has 'gcc' installed, and configure decided to use that -
which is fine with me, unless you think different :-)

This is where things went horribly wrong...

---8<---

Compiling client/client.c
client/client.c: In function `do_get':
client/client.c:694: warning: passing arg 4 of `cli_getattrE' from
incompatible
pointer type
client/client.c: In function `do_put':
client/client.c:1070: warning: passing arg 4 of `cli_getattrE' from
incompatible
pointer type
client/client.c: In function `remote_completion':
client/client.c:2288: `PATH_MAX' undeclared (first use this function)
client/client.c:2288: (Each undeclared identifier is reported only once
client/client.c:2288: for each function it appears in.)
client/client.c: In function `do_host_query':
client/client.c:2669: warning: passing arg 1 of `list_servers' discards
`const'
from pointer target type
*** Error code 1 (bu21)

---8<---

Alternatively, if someone wants to save me all this trouble - does
anyone know of a pre-built binary distribution? (Yeah, yeah.. I know
Samba & SCO in the same sentence can provoke a more political
discussion these days).

Any help appreciated.

Thanks,

Stuart.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 12:47 PM
Roberto Zini
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

Stuart Marshall wrote:
> All,
>
> As per the subject I'm trying [unsuccessfully!] to build Samba 3.0.1 on
> an Open Server 5.0.6 system.
>
> The system has 'gcc' installed, and configure decided to use that -
> which is fine with me, unless you think different :-)
>
> This is where things went horribly wrong...
>
> ---8<---
>
> Compiling client/client.c
> client/client.c: In function `do_get':
> client/client.c:694: warning: passing arg 4 of `cli_getattrE' from
> incompatible
> pointer type
> client/client.c: In function `do_put':
> client/client.c:1070: warning: passing arg 4 of `cli_getattrE' from
> incompatible
> pointer type
> client/client.c: In function `remote_completion':
> client/client.c:2288: `PATH_MAX' undeclared (first use this function)
> client/client.c:2288: (Each undeclared identifier is reported only once
> client/client.c:2288: for each function it appears in.)
> client/client.c: In function `do_host_query':
> client/client.c:2669: warning: passing arg 1 of `list_servers' discards
> `const'
> from pointer target type
> *** Error code 1 (bu21)
>
> ---8<---
>


Never tried personally (and I'm not in the position to check now) but do
you have the

/usr/include/limits.h

file installed on your system ?

If not (but this __might__ be only an useless workaround), try by adding
the following in one of the samba's include file:

#ifndef PATH_MAX
#define PATH_MAX 1024
#endif

> Alternatively, if someone wants to save me all this trouble - does
> anyone know of a pre-built binary distribution? (Yeah, yeah.. I know
> Samba & SCO in the same sentence can provoke a more political
> discussion these days).


No, please, not today ! :-)

Best,
Roberto
--
Roberto Zini - Technical Support Manager - email:r.zini<AT>strhold.it
Technical Support Manager -- Strhold Evolution Division R.E. (ITALY)
---------------------------------------------------------------------
"Has anybody around here seen an aircraft carrier?"
(Pete "Maverick" Mitchell - Top Gun)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 12:47 PM
Stuart Marshall
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

Roberto Zini wrote:
> Stuart Marshall wrote:


>> ---8<---
>>
>> Compiling client/client.c
>> client/client.c: In function `do_get':
>> client/client.c:694: warning: passing arg 4 of `cli_getattrE' from
>> incompatible
>> pointer type
>> client/client.c: In function `do_put':
>> client/client.c:1070: warning: passing arg 4 of `cli_getattrE' from
>> incompatible
>> pointer type
>> client/client.c: In function `remote_completion':
>> client/client.c:2288: `PATH_MAX' undeclared (first use this function)
>> client/client.c:2288: (Each undeclared identifier is reported only once
>> client/client.c:2288: for each function it appears in.)
>> client/client.c: In function `do_host_query':
>> client/client.c:2669: warning: passing arg 1 of `list_servers'
>> discards `const'
>> from pointer target type
>> *** Error code 1 (bu21)
>>
>> ---8<---
>>

> Never tried personally (and I'm not in the position to check now) but do
> you have the
>
> /usr/include/limits.h
>
> file installed on your system ?


Yes, that's already there...

> If not (but this __might__ be only an useless workaround), try by adding
> the following in one of the samba's include file:
>
> #ifndef PATH_MAX
> #define PATH_MAX 1024
> #endif


However, the PATH_MAX is defined as 256 not 1024. I've tried changing
it to 1024, but exactly the same thing happens unfortunately.

It is actually building the 'smbd' and 'nmbd' executables -
unfortunately they don't appear to work.

>> Alternatively, if someone wants to save me all this trouble - does
>> anyone know of a pre-built binary distribution? (Yeah, yeah.. I know
>> Samba & SCO in the same sentence can provoke a more political
>> discussion these days).

>
> No, please, not today ! :-)


:-)

What version of Samba does 5.0.7 come preinstalled with?

Thanks,

Stuart.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 12:47 PM
Roberto Zini
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

Stuart Marshall wrote:
> Roberto Zini wrote:
>
>> Stuart Marshall wrote:

>
>
>>> ---8<---
>>>
>>> Compiling client/client.c
>>> client/client.c: In function `do_get':
>>> client/client.c:694: warning: passing arg 4 of `cli_getattrE' from
>>> incompatible
>>> pointer type
>>> client/client.c: In function `do_put':
>>> client/client.c:1070: warning: passing arg 4 of `cli_getattrE' from
>>> incompatible
>>> pointer type
>>> client/client.c: In function `remote_completion':
>>> client/client.c:2288: `PATH_MAX' undeclared (first use this function)
>>> client/client.c:2288: (Each undeclared identifier is reported only once
>>> client/client.c:2288: for each function it appears in.)
>>> client/client.c: In function `do_host_query':
>>> client/client.c:2669: warning: passing arg 1 of `list_servers'
>>> discards `const'
>>> from pointer target type
>>> *** Error code 1 (bu21)
>>>
>>> ---8<---
>>>

>> Never tried personally (and I'm not in the position to check now) but
>> do you have the
>>
>> /usr/include/limits.h
>>
>> file installed on your system ?

>
>
> Yes, that's already there...


Are you in the position to check if the above actually gets included
into the *.c file ?

Also, what if you put the above "define" statements into the client.c file ?

>
>> If not (but this __might__ be only an useless workaround), try by
>> adding the following in one of the samba's include file:
>>
>> #ifndef PATH_MAX
>> #define PATH_MAX 1024 #endif

>
>
> However, the PATH_MAX is defined as 256 not 1024. I've tried changing
> it to 1024, but exactly the same thing happens unfortunately.
>


It's not a matter of value; it's a "I can't find the PATH_MAX
definition" issue.

> It is actually building the 'smbd' and 'nmbd' executables -
> unfortunately they don't appear to work.
>
>>> Alternatively, if someone wants to save me all this trouble - does
>>> anyone know of a pre-built binary distribution? (Yeah, yeah.. I know
>>> Samba & SCO in the same sentence can provoke a more political
>>> discussion these days).

>>
>>
>> No, please, not today ! :-)

>
>
> :-)
>
> What version of Samba does 5.0.7 come preinstalled with?
>


Samba 2.2.6 (as per the CD label).

Best,
Roberto
--
Roberto Zini - Technical Support Manager - email:r.zini<AT>strhold.it
Technical Support Manager -- Strhold Evolution Division R.E. (ITALY)
---------------------------------------------------------------------
"Has anybody around here seen an aircraft carrier?"
(Pete "Maverick" Mitchell - Top Gun)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-15-2008, 12:47 PM
Dave Gresham
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

In article <burdrk$ijjdk$1@ID-142465.news.uni-berlin.de>,
Stuart Marshall <stuart@spidersoft.co.uk> wrote:
>
>What version of Samba does 5.0.7 come preinstalled with?
>

Samba does not come pre-installed on SCO, there is the skunkware
site which currently (last time I heard) had 2.2.6, which from
reports I have heard has some issues on SCO).

I have several sites that have 2.0.7 which worked without
issue. 2.2.8a might be a version you can try and compile unless
you need the features of 3.0.


Dave

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-15-2008, 12:47 PM
Brian K. White
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

Roberto Zini <rob@robnothere.com> wrote in message news:<burifn$2cj$1@newsread.albacom.net>...
> Stuart Marshall wrote:
> > Roberto Zini wrote:
> >
> >> Stuart Marshall wrote:

> >
> >
> >>> ---8<---
> >>>
> >>> Compiling client/client.c
> >>> client/client.c: In function `do_get':
> >>> client/client.c:694: warning: passing arg 4 of `cli_getattrE' from
> >>> incompatible
> >>> pointer type
> >>> client/client.c: In function `do_put':
> >>> client/client.c:1070: warning: passing arg 4 of `cli_getattrE' from
> >>> incompatible
> >>> pointer type
> >>> client/client.c: In function `remote_completion':
> >>> client/client.c:2288: `PATH_MAX' undeclared (first use this function)
> >>> client/client.c:2288: (Each undeclared identifier is reported only once
> >>> client/client.c:2288: for each function it appears in.)
> >>> client/client.c: In function `do_host_query':
> >>> client/client.c:2669: warning: passing arg 1 of `list_servers'
> >>> discards `const'
> >>> from pointer target type
> >>> *** Error code 1 (bu21)
> >>>
> >>> ---8<---
> >>>
> >> Never tried personally (and I'm not in the position to check now) but
> >> do you have the
> >>
> >> /usr/include/limits.h
> >>
> >> file installed on your system ?

> >
> >
> > Yes, that's already there...

>
> Are you in the position to check if the above actually gets included
> into the *.c file ?
>
> Also, what if you put the above "define" statements into the client.c file ?
>
> >
> >> If not (but this __might__ be only an useless workaround), try by
> >> adding the following in one of the samba's include file:
> >>
> >> #ifndef PATH_MAX
> >> #define PATH_MAX 1024 #endif

> >
> >
> > However, the PATH_MAX is defined as 256 not 1024. I've tried changing
> > it to 1024, but exactly the same thing happens unfortunately.
> >

>
> It's not a matter of value; it's a "I can't find the PATH_MAX
> definition" issue.
>
> > It is actually building the 'smbd' and 'nmbd' executables -
> > unfortunately they don't appear to work.
> >
> >>> Alternatively, if someone wants to save me all this trouble - does
> >>> anyone know of a pre-built binary distribution? (Yeah, yeah.. I know
> >>> Samba & SCO in the same sentence can provoke a more political
> >>> discussion these days).
> >>
> >>
> >> No, please, not today ! :-)

> >
> >
> > :-)
> >
> > What version of Samba does 5.0.7 come preinstalled with?
> >

>
> Samba 2.2.6 (as per the CD label).
>
> Best,
> Roberto



I built 2.2.8a about 6 months ago here:
http://www.aljex.com/bkw/index.html#samba

And now there is a sco-built 2.2.8 that is part of this cd image:
ftp://ftp.sco.com/pub/openserver5/50...pp1CDimage.iso
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-15-2008, 12:47 PM
Jean-Pierre Radley
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

Dave Gresham typed (on Fri, Jan 23, 2004 at 11:47:30PM +0000):
| In article <burdrk$ijjdk$1@ID-142465.news.uni-berlin.de>,
| Stuart Marshall <stuart@spidersoft.co.uk> wrote:
| >
| >What version of Samba does 5.0.7 come preinstalled with?
| >
| Samba does not come pre-installed on SCO, there is the skunkware
| site which currently (last time I heard) had 2.2.6, which from
| reports I have heard has some issues on SCO).
|
| I have several sites that have 2.0.7 which worked without
| issue. 2.2.8a might be a version you can try and compile unless
| you need the features of 3.0.

Sites that have 2.0.7? You mean 5.0.7?

If you don't know what you're talking about, best not to talk. Samba
2.2.6 is on the 5.0.7 distribution CDs. There's no need to get it from
Skunkware.


--
JP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-15-2008, 12:47 PM
Dave Gresham
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

In article <20040124012022.GA29375@jpradley.jpr.com>,
Jean-Pierre Radley <jpr@jpr.com> wrote:
>Dave Gresham typed (on Fri, Jan 23, 2004 at 11:47:30PM +0000):
>| In article <burdrk$ijjdk$1@ID-142465.news.uni-berlin.de>,
>| Stuart Marshall <stuart@spidersoft.co.uk> wrote:
>| >
>| >What version of Samba does 5.0.7 come preinstalled with?
>| >
>| Samba does not come pre-installed on SCO, there is the skunkware
>| site which currently (last time I heard) had 2.2.6, which from
>| reports I have heard has some issues on SCO).
>|
>| I have several sites that have 2.0.7 which worked without
>| issue. 2.2.8a might be a version you can try and compile unless
>| you need the features of 3.0.
>
>Sites that have 2.0.7? You mean 5.0.7?
>
>If you don't know what you're talking about, best not to talk. Samba
>2.2.6 is on the 5.0.7 distribution CDs. There's no need to get it from
>Skunkware.
>
>

Yes, it is best that you don't talk if you don't know what you
are talking about. Samba version 2.0.7 is a stable enviornment
on the systems that I work with.

dave

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-15-2008, 12:47 PM
Gary Quiring
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

On Fri, 23 Jan 2004 10:33:49 +0000, Stuart Marshall
<stuart@spidersoft.co.uk> wrote:

>All,
>
>As per the subject I'm trying [unsuccessfully!] to build Samba 3.0.1 on
>an Open Server 5.0.6 system.
>
>The system has 'gcc' installed, and configure decided to use that -
>which is fine with me, unless you think different :-)
>

I gave up about a year ago trying to compile any recent version of
Samba. I found that once the 5.0.6a patch was installed on SCO Samba
and some other programs were no longer able to compile. I had posted
a few times here but no answers were found. I don't recall the error
messages I saw but I am so fed up with SCO and their lawsuits I am
migrating all of my systems off of SCO as quickly as the $$$ permits.

Gary Quiring



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-15-2008, 12:47 PM
FyRE
 
Posts: n/a
Default Re: Building Samba version 3.0.1 on OSR5.0.6

On Fri, 23 Jan 2004 10:33:49 +0000, Stuart Marshall
<stuart@spidersoft.co.uk> wrote:

>All,
>
>As per the subject I'm trying [unsuccessfully!] to build Samba 3.0.1 on
>an Open Server 5.0.6 system.
>
>The system has 'gcc' installed, and configure decided to use that -
>which is fine with me, unless you think different :-)
>
>This is where things went horribly wrong...


Good. I'm sure the Samba team will be very pleased at your failure to
use their code in the OS of a scumbag caompany that is trying it's
damndest to kill their project despite profiting from their work.

You do realise of course that you are violating the licence under
which Samba is distributed by attempting to build it for SCO? You have
agreed to abide by your ownerH^H^H^H^H^OS supplier's terms. Since they
claim the GPL is invalid, it's obviously incompatible with their
tired, worthless products.

--
FyRE < "War: The way Americans learn geography" >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com