APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS














(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



compile samba sco 5.0.6


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From: Jean-Pierre Radley <jpr@jpr.com>
Subject: Re: SAMBA 2.2.2 won't compile after install rs506a
Date: Sun, 4 Nov 2001 21:52:22 GMT
References: <kv6butgl5p0m3l4i95sg8lrl8rmet8sgrq@4ax.com> 

Gary Quiring propounded (on Sun, Nov 04, 2001 at 07:56:24PM +0000):

| I tried upgrading to 2.2.2 Samba but to my surprise would not compile.
| I have compiled previous version of Samba on SCO 5.0.6 and never had a
| problem.
|
| I have a SCO 5.0.6 with no patches installed and Samba 2.2.2 compiles
| fine.  I installed 506a and Samba won't compile.
|
| I noticed the following message when running configure that does not
| normally appear: WARNING: No automated network interface determination
|
| make output:  Using FLAGS = -O -Iinclude -I./include -I./ubiqx
| -I./smbwrapper -DLOGFILEBASE ="/usr/local/samba/var"
| -DCONFIGFILE="/usr/local/samba/lib/smb.conf"
| -DLMHOSTSFI LE="/usr/local/samba/lib/lmhosts"
| -DSWATDIR="/usr/local/samba/swat" -DSBINDIR=
| "/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks"
| -DCODEPAGEDIR="/us r/local/samba/lib/codepages"
| -DDRIVERFILE="/usr/local/samba/lib/printers.def"
| -D BINDIR="/usr/local/samba/bin"
| -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd"
| -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
| -DTDB_PASSWD_FILE="/usr/l ocal/samba/private/smbpasswd.tdb"
| Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx
| -I./smbwrapper -DLOGFILEBA SE="/usr/local/samba/var"
| -DCONFIGFILE="/usr/local/samba/lib/smb.conf"
| -DLMHOSTS FILE="/usr/local/samba/lib/lmhosts"
| -DSWATDIR="/usr/local/samba/swat" -DSBINDI
| R="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks"
| -DCODEPAGEDIR="/ usr/local/samba/lib/codepages"
| -DDRIVERFILE="/usr/local/samba/lib/printers.def"
| -DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H
| -DPASSWD_PROGRAM="/bin/passwd "
| -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
| -DTDB_PASSWD_FILE="/usr /local/samba/private/smbpasswd.tdb" Using
| LIBS = -lsec -lgen -lsocket -lnsl_s Compiling smbd/server.c
| "include/includes.h", line 834: error: identifier redeclared:
| initgroups *** Error code 1 (bu21)



The configure script fails to detect that initgroups is in fact declared
in /usr/include/grp.h, if you're using /bin/cc as your compiler.

If you fix that (I haven't tried to do so) you might stumble on similar
errors.

OTOH, using gcc, the configure&make cycle (on 5.0.6 patched with rs506a)
is perfect.


-- 
JP
 



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


LOD Communications, Inc.


/Bofcusm/1096.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.



More:
       - OSR5
       - Bofcusm


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress