- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: compiling samba
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:32 AM
08-06-2002 01:32 AM
now i tried to compile samba 2.2.5 on my own under hpux 11.11 with gcc 3.1...
first i configured samba with "configure --prefix=/mypath/sw/samba --with-msdfs" and than i called "make".. the result was the following error...
Using LIBS = -lgen -lsec -lnsl
Compiling smbd/server.c
In file included from include/includes.h:107,
from smbd/server.c:22:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
/usr/include/sys/socket.h:493: parse error before "sendfile64"
/usr/include/sys/socket.h:494: parse error before "bsize64_t"
/usr/include/sys/socket.h:495: parse error before "sendpath64"
/usr/include/sys/socket.h:496: parse error before "bsize64_t"
In file included from /usr/include/sys/mp.h:55,
from /usr/include/sys/malloc.h:59,
from /usr/include/net/netmp.h:53,
from /usr/include/net/if.h:59,
from include/includes.h:269,
from smbd/server.c:22:
/usr/include/machine/sys/setjmp.h:45: redefinition of `struct label_t'
In file included from smbd/server.c:22:
include/includes.h:402: conflicting types for `socklen_t'
/usr/include/sys/socket.h:199: previous declaration of `socklen_t'
*** Error exit code 1
perhaps someone can help me...
sincerly yours
Gerd Oberlechner
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:37 AM
08-06-2002 01:37 AM
Re: compiling samba
B8723AA A.01.02 CIFS/9000 Client Lic. for 9000 Servers
B8725AA A.01.02 CIFS/9000 Server Lic. for 9000 Servers
You can download from www.software.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:46 AM
08-06-2002 01:46 AM
Re: compiling samba
One reason may be that CIFS is always based on older releases than the up-to-date samba version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 01:52 AM
08-06-2002 01:52 AM
SolutionStefan,
I'm not sure that CIFS implement the dfs support by default, and it's a binary product, then you cannot change it later....
Gerd,
The trouble you have is certainly something about 64 bit (as what I saw in the errors).
gcc 3.1 support 64 bit, but does you system can support it ??
Try to compile with an older version gcc 2.95 for example...
I didn't try to compile samba with gcc 3.1, but with 2.95 it's ok...
hope that help
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 02:10 AM
08-06-2002 02:10 AM
Re: compiling samba
Please download the make-3.7.9 from
http://hpux.cs.utah.edu/hppd/hpux/Gnu/make-3.79.1/
Install it and use this make version
It installs the executable in /usr/bin
The present make available on your system is in
/usr/ccs/bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 03:01 AM
03-24-2003 03:01 AM
Re: compiling samba
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/sys/types.h
Comment definition struct label_t and
write
typedef long sbsize_t;
Regards, Yuri Kozlov