Bug 5940 - compiling libsmb fails on Solaris 10 update 5 (workaround)
compiling libsmb fails on Solaris 10 update 5 (workaround)
Status: RESOLVED INVALID
Product: Samba 3.2
Classification: Unclassified
Component: Build environment
3.2.5
Other Windows XP
: P3 normal
: ---
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-04 16:34 UTC by Eric Diven
Modified: 2008-12-04 18:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Diven 2008-12-04 16:34:54 UTC
Building libsmb, the following files cause compilation errors:

libsmb_cache.c
libsmb_context.c
libsmb_dir.c
libsmb_file.c
libsmb_misc.c
libsmb_path.c
libsmb_printjob.c
libsmb_server.c
libsmb_stat.c
libsmb_xattr.c
libsmb_setget.c

The errors are mostly related to incomplete types, and are of the sort that generally indicate a problem with headers.

WORKAROUND:

in the affected files, switch the order of inclusion of libsmb_internal.h and libsmbclient.h so that libsmb_internal.h comes first.
Comment 1 Eric Diven 2008-12-04 18:39:00 UTC
I screwed up, this appears to have been due to pollution of the include path from a previous samba installation.