Modify

Opened 7 years ago

Closed 6 years ago

#4757 closed enhancement (obsolete)

samba 3 complete

Reported by: anonymous Owned by: developers
Priority: low Milestone:
Component: packages Version:
Keywords: Cc:

Description

this is an incomplete patch (avm fix , nmap and kmod-fs-smbfs is not included) for full samba 3, based on http://forum.openwrt.org/viewtopic.php?id=14073

Attachments (1)

samba3.tar.bz2 (30.7 KB) - added by anonymous 7 years ago.
replace samba3 from feeds with this

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by anonymous

replace samba3 from feeds with this

comment:1 Changed 7 years ago by yamshee

Why is not built in this patch?

comment:2 Changed 7 years ago by yamshee

I couldnt to compile , again ...never ...

comment:3 Changed 7 years ago by yamshee

<built-in>:0: note: someone does not honour COPTS correctly, passed 0 times
Linking bin/eventlogadm
lib/replace/replace.o: In function `rep_mkstemp':
replace.c:(.text+0x1c): warning: the use of mktemp' is dangerous, better use mkstemp'
Compiling client/mount.cifs.c
<built-in>:0: note: someone does not honour COPTS correctly, passed 0 times
client/mount.cifs.c:92: error: static declaration of 'strlcpy' follows non-static declaration
/media/disk_2/kamikaze/staging_dir/toolchain-i386_gcc4.1.2/lib/gcc/i386-linux-uclibc/4.1.2/../../../../i386-linux-uclibc/sys-include/string.h:454
: error: previous declaration of 'strlcpy' was here
client/mount.cifs.c:106: error: static declaration of 'strlcat' follows non-static declaration
/media/disk_2/kamikaze/staging_dir/toolchain-i386_gcc4.1.2/lib/gcc/i386-linux-uclibc/4.1.2/../../../../i386-linux-uclibc/sys-include/string.h:452
: error: previous declaration of 'strlcat' was here
The following command failed:
i386-linux-uclibc-gcc -I. -I/media/disk_2/kamikaze/build_dir/i386/samba-3.0.34/source -O -D_SAMBA_BUILD_=3 -I/media/disk_2/kamikaze/build_dir/i3
86/samba-3.0.34/source/popt -I/media/disk_2/kamikaze/build_dir/i386/samba-3.0.34/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/repl
ace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/media/disk_2/kamikaze/build_dir/i386/samba-3.0.34/source/lib -D
_SAMBA_BUILD_=3 -fPIC -c client/mount.cifs.c -o client/mount.cifs.o
make[3]: * [client/mount.cifs.o] Error 1
make[3]: Leaving directory `/media/disk_2/kamikaze/build_dir/i386/samba-3.0.34/source'
make[2]:
* media/disk_2/kamikaze/build_dir/i386/samba-3.0.34/.built Error 2
make[2]: Leaving directory `/media/disk_2/kamikaze/feeds/packages/net/samba3'
make[1]: * [package/feeds/packages/samba3/compile] Error 2
make[1]: Leaving directory `/media/disk_2/kamikaze'
make:
* [package/samba3/compile] Error 2

This is my error messages...

comment:4 Changed 7 years ago by kwek

Same here:

<built-in>:0: note: someone does not honour COPTS correctly, passed 0 times
client/mount.cifs.c:92: error: static declaration of 'strlcpy' follows non-static declaration
/mnt/stuff/src/openwrt/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/../../../../mipsel-openwrt-linux-uclibc/sys-include/string.h:454: error: previous declaration of 'strlcpy' was here
client/mount.cifs.c:106: error: static declaration of 'strlcat' follows non-static declaration
/mnt/stuff/src/openwrt/staging_dir/toolchain-mipsel_gcc-4.1.2_uClibc-0.9.29/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.1.2/../../../../mipsel-openwrt-linux-uclibc/sys-include/string.h:452: error: previous declaration of 'strlcat' was here
The following command failed:
mipsel-openwrt-linux-uclibc-gcc -I. -I/mnt/stuff/src/openwrt/build_dir/target-mipsel_uClibc-0.9.29/samba-3.0.34/source  -O -D_SAMBA_BUILD_=3 -I/mnt/stuff/src/openwrt/build_dir/target-mipsel_uClibc-0.9.29/samba-3.0.34/source/popt -I/mnt/stuff/src/openwrt/build_dir/target-mipsel_uClibc-0.9.29/samba-3.0.34/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H     -I/mnt/stuff/src/openwrt/build_dir/target-mipsel_uClibc-0.9.29/samba-3.0.34/source/lib -D_SAMBA_BUILD_=3 -fPIC -c client/mount.cifs.c -o client/mount.cifs.o
make[4]: *** [client/mount.cifs.o] Error 1
make[4]: Leaving directory `/mnt/stuff/src/openwrt/build_dir/target-mipsel_uClibc-0.9.29/samba-3.0.34/source'
make[3]: *** [/mnt/stuff/src/openwrt/build_dir/target-mipsel_uClibc-0.9.29/samba-3.0.34/.built] Error 2
make[3]: Leaving directory `/mnt/stuff/src/openwrt/feeds/packages/net/samba3'
make[2]: *** [package/feeds/packages/samba3/compile] Error 2
make[2]: Leaving directory `/mnt/stuff/src/openwrt'
make[1]: *** [/mnt/stuff/src/openwrt/staging_dir/target-mipsel_uClibc-0.9.29/stamp/.package_compile] Error 2
make[1]: Leaving directory `/mnt/stuff/src/openwrt'
make: *** [world] Error 2

comment:5 Changed 7 years ago by cozmic

Same here. I wonder why that's an error, not a warning, but anyway.
I removed the static functions from that file, but afterwards I saw that the binary sizes are very big:

smbpasswd - 2.4MB
nmbd - 1.3MB
smbd - 4.3MB

This does not fit on my wgt634u and it looks like AVM's size reduction is not included in this version. The current smbd of samba3 has 1.3MB.

comment:6 Changed 6 years ago by nbd

  • Resolution set to obsolete
  • Status changed from new to closed

samba3 with avm changes has been added a long time ago, old bug.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.