[Samba] Compilation problem

Daniel Ramaley daniel.ramaley at DRAKE.EDU
Thu Feb 24 14:20:09 GMT 2005


Hello. I am trying to compile samba 3.0.11 on OpenBSD 3.6. At first i 
tried the ./configure with a number of switches, but when the make 
failed, i redid it with just plain "./configure && make". The configure 
works fine. The make runs for awhile but dies with this:


Linking bin/swat
/usr/local/kerberos/lib/libkrb5.so.3.2: warning: mktemp() possibly used 
unsafely; consider using mkstemp()
Compiling client/client.c
client/client.c: In function `do_get':
client/client.c:699: warning: passing arg 4 of `cli_getattrE' from 
incompatible pointer type
client/client.c: In function `do_put':
client/client.c:1075: warning: passing arg 4 of `cli_getattrE' from 
incompatible pointer type
Compiling client/clitar.c
client/clitar.c:91: syntax error before `*'
client/clitar.c:91: warning: data definition has no type or storage 
class
client/clitar.c: In function `tar_parseargs':
client/clitar.c:1754: `regex_t' undeclared (first use in this function)
client/clitar.c:1754: (Each undeclared identifier is reported only once
client/clitar.c:1754: for each function it appears in.)
client/clitar.c:1754: syntax error before `)'
client/clitar.c:1760: `errcode' undeclared (first use in this function)
client/clitar.c:1760: `REG_EXTENDED' undeclared (first use in this 
function)
client/clitar.c: At top level:
client/clitar.c:1775: syntax error before `if'
*** Error code 1

Stop in /usr/local/src/samba-3.0.11/source.


Is there a patch or something that i need to add to the source? I was 
surprised to see a syntax error; i wonder if there is something weird 
about OpenBSD that conflicts with samba? (I had no trouble compiling 
samba 3.0.4 and 3.0.5 on OpenBSD 3.5 a few months ago though.)

------------------------------------------------------------------------
Dan Ramaley
Digital Media Library Specialist
(515) 271-1934
Cowles Library 140, Drake University



More information about the samba mailing list