Antwort: RE: compile samba 2.2 and 3.0 on HP/UX 10.20

thomas_tiedtke at thomas_tiedtke at
Wed Apr 17 05:45:28 GMT 2002

Hello Don,

many thanks for your hint! 

Now it compile without any problems.

Regards, Thomas

An:     "'thomas_tiedtke at'" <thomas_tiedtke at>, 
"DOELKER,RAINER (HP-Germany,ex2)" <rainer_doelker at>
Kopie:  samba-technical at 
Thema:  RE: compile samba 2.2 and 3.0 on HP/UX 10.20

Hi Thomas,
go to smbd/vfs.c  and change the call to dlerror()  to sys_dlerror(), that
will get you
past your compile problem on 2.2.
Haven't looked any further at this yet; let me know if you run into other
issues on 10.20

-----Original Message-----
From: thomas_tiedtke at
[mailto:thomas_tiedtke at]
Sent: Tuesday, April 16, 2002 4:42 AM
To: DOELKER,RAINER (HP-Germany,ex2)
Cc: samba-technical at
Subject: RE: compile samba 2.2 and 3.0 on HP/UX 10.20

Hello Rainer,

thank you for your answer!

The binaries on are very old ... newer are on the HP/UX Porting
Centre (2.2.3a)
... but this ist not that what I need!

My last compile for Samba 2.2.4pre from 21 Feb was OK! The compile from
yesterday (after the nss.h cleanup) give my for

the Samba 2.2 branch:

Compiling smbd/notify_hash.c
Compiling smbd/notify_kernel.c
Linking bin/smbd
/usr/ccs/bin/ld: Unsatisfied symbols:
   dlerror (code)
collect2: ld returned 1 exit status
gmake: *** [bin/smbd] Error 1

and for the Samba 3 branch:

Compiling lib/xfile.c
Compiling lib/wins_srv.c
Compiling lib/util_str.c
lib/util_str.c: In function `all_string_sub_w':
lib/util_str.c:765: warning: initialization discards qualifiers from
pointer target type
Compiling lib/util_sid.c
Compiling lib/util_unistr.c
Compiling lib/util_file.c
lib/util_file.c: In function `map_file':
lib/util_file.c:443: `MAP_FAILED' undeclared (first use in this function)
lib/util_file.c:443: (Each undeclared identifier is reported only once
lib/util_file.c:443: for each function it appears in.)
gmake: *** [lib/util_file.o] Error 1

... maybe it is something broken!

I will make a new cvs sync today!

Regards, Thomas

An:     "'thomas_tiedtke at'"
<thomas_tiedtke at>
Kopie:  samba-technical at
Thema:  compile samba 2.2 and 3.0 on HP/UX 10.20

Hello Thomas,

>the current cvs tree for the samba 2.2 and 3 branch dont compile on

The new samba-versions were not jet avail as binaries for 10.20  -- and
result in compiling problems -- as (AFAIK) the threaded functions
which are used by samba are not available for 10.20.

So I do not know if you'll ever make it run. (I have to admit I've not
compiled one for a long time).

There are ready packages, which might be of help ?
samba-2.2.2-hppa1.1-hp-hpux10.20.tar or

Hope that helps.
Regs, Rainer

More information about the samba-technical mailing list