[DragonFlyBSD - Bug #80] (In Progress) libmchain patch

Antonio M. Huete Jimenez via Redmine bugtracker-admin at leaf.dragonflybsd.org
Mon Nov 19 06:33:45 PST 2012

Issue #80 has been updated by Antonio M. Huete Jimenez.

Status changed from Closed to In Progress

Buildworld apparently broken.

--- mount_smbfs ---
cc -O -pipe  -DSMBFS -I/usr/local/poudriere/jails/master-1/usr/src/sbin/mount_smbfs/../../contrib/                                                 smbfs/include   -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-pointer-sign -Wextra -Wno-unused-pa                                                 rameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-t                                                 ype -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscript                                                 s -Winline -Wnested-externs -Wredundant-decls  -o mount_smbfs mount_smbfs.o getmntopts.o -lsmb
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `betohs'
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `letohl'
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `letohq'
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `betohq'
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `betohl'
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `letohs'
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `htoles'
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `htoleq'
/usr/obj/poudriere/usr/local/poudriere/jails/master-1/usr/src/world_x86_64/usr/lib/libsmb.so: unde                                                 fined reference to `htobeq'
*** [mount_smbfs] Error code 1

make: stopped in /usr/local/poudriere/jails/master-1/usr/src/sbin/mount_smbfs

Bug #80: libmchain patch

Author: Alexey Slynko
Status: In Progress
Priority: Immediate
Assignee: Sepherosa Ziehau
Target version: 


all this changes obtained from FreeBSD project
This patch is required for futher smbfs code syncing.

 From FreeBSD log:
revision 1.18
date: 2005-07-29 17:22:36 +0400;  author: imura;  state: Exp;  lines: 
+10 -6;
Change API of mb_copy_t in libmchain so that netsmb can handle
multibyte character share name correctly.

Reviewed by:    bp
revision 1.16
date: 2004-04-06 01:03:35 +0400;  author: imp;  state: Exp;  lines: +0 -3;
branches:  1.16.2;
Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core

revision 1.10
date: 2002-12-16 19:20:06 +0300;  author: robert;  state: Exp;  lines: 
+12 -13;
Remove the hto(be|le)[slq] and (be|le)toh[slq] macros defined in
_KERNEL scope from "src/sys/sys/mchain.h".

Replace each occurrence of the above in _KERNEL scope with the
appropriate macro from the set of hto(be|le)(16|32|64) and
(be|le)toh(16|32|64) from "src/sys/sys/endian.h".

Tested by:              tjr
Requested by:           comment marked with XXX
revision 1.9
date: 2002-10-22 22:44:59 +0400;  author: jhb;  state: Exp;  lines: +12 -6;
Don't dereference the 'x' pointer if it is NULL, instead skip the
assignment.  The netsmb code likes to call these functions with a NULL
x argument a lot.

Reported by:    Vallo Kallaste <kalts at estpak.ee>
revision 1.8
date: 2002-10-11 18:58:30 +0400;  author: mike;  state: Exp;  lines: +4 -2;
Change iov_base's type from `char *' to the standard `void *'.  All
uses of iov_base which assume its type is `char *' (in order to do
pointer arithmetic) have been updated to cast iov_base to `char *'.
revision 1.6
date: 2002-07-15 17:15:31 +0400;  author: markm;  state: Exp;  lines: +4 -4;
Convert GNU-styled variadic macros to ISO(9x) style.

P.S. And in FreeBSD m_fixhdr() moved from mbchain to mbuf. Does we need it?

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list