[Samba] make: *** [dynconfig.o] Error 1

2006-01-18 Thread Nagendra KV
HI,

 

I am getting the same error too. HELP required as well

 

 

Dear Members,

 

I am trying install and configure samba-3.0.21a.tar.gz on Solaris 9

 

The following commands were executed

 

#  gunzip samba-3.0.21a.tar.gz

 

#  tar xvf samba-3.0.21a.tar

 

# cd samb-3.0.21a

# cd source

# ./configure

 

It executed compiling everying gcc and cc and other

 

# make

 

I get an error

 

Fatal Error: command fails dynconfig.o

 

 

Kindly help me out how to eliminate this problem

 

Thanks

Regards

Nagendra KV | Technology (STS) | M P H A S I S  Architecting Value | IT
SERVICES

 

 

Nagendra KV | Technology (STS) | M P H A S I S  Architecting Value | IT
SERVICES
#139/1, Hosur Road, Koramangala, Bangalore - 560095, | Tel: (80)
25522713/14 Ext-1016| Fax: (80) 25522719| www.mphasis.com
 

Information transmitted by this e-mail is proprietary to MphasiS and/ or
its Customers and is intended for use only by the individual or entity
to which it is addressed, and may contain information that is
privileged, confidential or exempt from disclosure under applicable law.
If you are not the intended recipient or it appears that this mail has
been forwarded to you without proper authority, you are notified that
any use or dissemination of this information in any manner is strictly
prohibited. In such cases, please notify us immediately at
[EMAIL PROTECTED]   and delete this
mail from your records

 

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] make: *** [dynconfig.o] Error - [SUMMARY]

2005-01-28 Thread Alexei Monastyrnyi
Hi List.
Thanks to those who looked at the original Q. You can find that below.
This post is for those who will face the same issue in the future and to 
make "goggling" easier. :-)

There was the following sequence of events on the affected Solaris 9 
server, which led to the issue.

July 2004 - OpenLDAP was upgraded to 2.2.8
Aug 2004 - SAMBA was upgraded to 3.0.7
Sept 2004 - OpenLDAP was upgraded to 2.2.15
After that both SAMBA 3.0.7 and SAMBA 3.0.10 couldn't be built...
After a good advice I checked the location of LDAP_CONST in OpenLDAP 
header files
and found that  it was moved from ldap.h to ldap_schema.h.

Doing manually
#include 
in include/proto.h fixed that issue but a new one popped up,
this time with passdb/pdb_ldap.c (pwd samba-3.0.10/source)
...
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_modify_entry':
passdb/pdb_ldap.c:1554: error: `ber_tag_t' undeclared (first use in this 
function)
passdb/pdb_ldap.c:1554: error: (Each undeclared identifier is reported 
only once
passdb/pdb_ldap.c:1554: error: for each function it appears in.)
passdb/pdb_ldap.c:1554: error: parse error before numeric constant
passdb/pdb_ldap.c:1555: error: parse error before numeric constant
passdb/pdb_ldap.c: In function `ldapsam_alias_memberships':
passdb/pdb_ldap.c:2758: warning: passing arg 5 of `smbldap_search' from 
incompatible pointer type
make: *** [passdb/pdb_ldap.o] Error 1

At that point I decided that it must be something wrong with OpenLDAP
and upgraded the one to the "latest and greatest" stable 2.2.23.
This made the trick. All headers etc were nicely understood by SAMBA.
No changes in environment variables like FLAGS, CPPFLAGS has been done.
I didn't use any specific place for keeping application-specific headers 
and libraries - all lives in /usr and /usr/local by default.

A.
Alexei Monastyrnyi wrote:
Hi List!
I've got a problem building samba 3.0.10 on Solaria 9 box.
Configuration is successful with
./configure --with-pam --with-syslog --with-ldapsam --with-automount
But make gives the following output.
alien> make
Using FLAGS =  -O  -Iinclude 
-I/usr/local/src/samba-3.0.10/source/include 
-I/usr/local/src/samba-3.0.10/source/ubiqx 
-I/usr/local/src/samba-3.0.10/source/smbwrapper  -I. 
-D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-I/usr/local/src/samba-3.0.10/sourceLIBS = -lsendfile -lsec 
-lgen -lresolv -lsocket -lnsl -ldl
 LDSHFLAGS = -G  -lthread
 LDFLAGS = -lthread
Generating smbd/build_options.c
Building include/proto.h
creating /usr/local/src/samba-3.0.10/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/local/src/samba-3.0.10/source/include/wrepld_proto.h
Building include/build_env.h
creating /usr/local/src/samba-3.0.10/source/nsswitch/winbindd_proto.h
creating /usr/local/src/samba-3.0.10/source/web/swat_proto.h
creating /usr/local/src/samba-3.0.10/source/client/client_proto.h
creating /usr/local/src/samba-3.0.10/source/utils/net_proto.h
creating /usr/local/src/samba-3.0.10/source/utils/ntlm_auth_proto.h
Compiling dynconfig.c
In file included from include/includes.h:926,
from dynconfig.c:21:
include/proto.h:587: error: parse error before "LDAP_CONST"
make: *** [dynconfig.o] Error

I used to build 3.0.7 no the same host (running OpenLDAP 2.2.18 as 
well) without any problems, but now 3.0.7 gives the same  error output...
Something must have been changed in my environment but I get blank of 
what...
Any hints are highly appreciated.

Sorry if it is off-topic...
A.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] make: *** [dynconfig.o] Error

2005-01-25 Thread Paul Gienger

Using FLAGS =  -O  -Iinclude 
-I/usr/local/src/samba-3.0.10/source/include 
-I/usr/local/src/samba-3.0.10/source/ubiqx 
-I/usr/local/src/samba-3.0.10/source/smbwrapper  -I. 
-D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-I/usr/local/src/samba-3.0.10/sourceLIBS = -lsendfile -lsec 
-lgen -lresolv -lsocket -lnsl -ldl
 LDSHFLAGS = -G  -lthread
 LDFLAGS = -lthread
I used to build 3.0.7 no the same host (running OpenLDAP 2.2.18 as 
well) without any problems, but now 3.0.7 gives the same  error output...
Something must have been changed in my environment but I get blank of 
what...
Looks to me like your running environment has changed, WRT your *FLAGS 
at compile time. I usually set the following, although there could be 
some redundancy here:

export FLAGS=-I/opt/openldap/include
export CPPFLAGS=-I/opt/openldap/include
export LDFLAGS=-L/opt/openldap/lib
export CFLAGS="-I/opt/openldap/include"
Also, check the output of crle.
Sorry if it is off-topic...
Very ON-topic.
--
--
Paul GiengerOffice: 701-281-1884
Applied Engineering Inc.
Systems Architect   Fax:701-281-1322
URL: www.ae-solutions.com   mailto: [EMAIL PROTECTED]

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] make: *** [dynconfig.o] Error

2005-01-25 Thread Alexei Monastyrnyi
Hi List!
I've got a problem building samba 3.0.10 on Solaria 9 box.
Configuration is successful with
./configure --with-pam --with-syslog --with-ldapsam --with-automount
But make gives the following output.
alien> make
Using FLAGS =  -O  -Iinclude 
-I/usr/local/src/samba-3.0.10/source/include 
-I/usr/local/src/samba-3.0.10/source/ubiqx 
-I/usr/local/src/samba-3.0.10/source/smbwrapper  -I. -D_LARGEFILE_SOURCE 
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/src/samba-3.0.10/source   
 LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
 LDSHFLAGS = -G  -lthread
 LDFLAGS = -lthread
Generating smbd/build_options.c
Building include/proto.h
creating /usr/local/src/samba-3.0.10/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/local/src/samba-3.0.10/source/include/wrepld_proto.h
Building include/build_env.h
creating /usr/local/src/samba-3.0.10/source/nsswitch/winbindd_proto.h
creating /usr/local/src/samba-3.0.10/source/web/swat_proto.h
creating /usr/local/src/samba-3.0.10/source/client/client_proto.h
creating /usr/local/src/samba-3.0.10/source/utils/net_proto.h
creating /usr/local/src/samba-3.0.10/source/utils/ntlm_auth_proto.h
Compiling dynconfig.c
In file included from include/includes.h:926,
from dynconfig.c:21:
include/proto.h:587: error: parse error before "LDAP_CONST"
make: *** [dynconfig.o] Error

I used to build 3.0.7 no the same host (running OpenLDAP 2.2.18 as well) 
without any problems, but now 3.0.7 gives the same  error output...
Something must have been changed in my environment but I get blank of 
what...
Any hints are highly appreciated.

Sorry if it is off-topic...
A.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] make: *** [dynconfig.o] Error 1

2004-06-03 Thread lanmass
Salve,
I get the following error compiling Samba 3.0.0 on Solaris 9.

Compiling dynconfig.c

make: *** [dynconfig.o] Error 1

Any help much appreciated. Thanks.

Lanza Massimo
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] make: *** [dynconfig.o] Error 1

2004-01-27 Thread Antje Rau






hi darren,

do you get any suggestions/solutions for your problem ?
i have the same currently, and hope you can help me.

thanks,
antje


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] make: *** [dynconfig.o] Error 1

2003-11-21 Thread Chew, Darren
Hi All,

I get the following error compiling Samba 3.0.0 on Solaris 9.

Compiling dynconfig.c
In file included from include/includes.h:896,
 from dynconfig.c:21:
include/proto.h:497: error: parse error before "LDAP_CONST"
make: *** [dynconfig.o] Error 1

./configure \
--prefix=/usr/local/samba \
--with-libiconv=/usr/local/libiconv \
--with-ldap\ 
--with-pam\ 
--with-pam_smbpass\ 
--with-winbind\ 
--with-included-popt

Are any CPPFLAGS or LDFLAGS needed? Any help much appreciated. Thanks.

Darren

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba