Displaying 20 results from an estimated 23 matches for "mkproto".
2019 Oct 31
5
[PATCH] Replace mkproto.pl with mkproto.awk
This replaces the build dependency on perl with one on awk which is
already used in the build system and is much more ubiquitous than perl
---
Makefile.in | 2 +-
mkproto.awk | 39 +++++++++++++++++++++++++++++++++++++++
mkproto.pl | 48 ------------------------------------------------
3 files changed, 40 insertions(+), 49 deletions(-)
create mode 100644 mkproto.awk
delete mode 100644 mkproto.pl
diff --git a/Makefile.in b/Makefile.in
index f912f312..d7ddbc41 100...
2019 Oct 31
0
[PATCH] Replace mkproto.pl with mkproto.awk
Ethan Sommer via rsync <rsync at lists.samba.org> (Do 31 Okt 2019 17:38:17 CET):
> This replaces the build dependency on perl with one on awk which is
> already used in the build system and is much more ubiquitous than perl
I can't speak for rsync, but nowadays Perl isn't that rare, that a
dependeny on it for build purpose would matter. IMHO.
There are many flavours of AWK.
2019 Nov 17
1
[PATCH] Replace mkproto.pl with mkproto.awk
> Me? I think, the rsync maintainers, or?
> I just added my 2 cents and would stick with .pl, it has proven to be
> stable :) (Yes, I'm a Perl user.)
Meant to direct that towards the rsync maintainers sorry. Are you
suggesting that something that works with all popular awk
implementations and entirely conforms to the POSIX standard now would
somehow not be stable, or would eventually
2019 Oct 31
1
[PATCH] Replace mkproto.pl with mkproto.awk
> I can't speak for rsync, but nowadays Perl isn't that rare, that a
> dependeny on it for build purpose would matter. IMHO.
It might not be rare, but it's certainly less universally available than
awk, which is preinstalled on pretty much every unix-like OS out there.
> There are many flavours of AWK. Are you sure, that your AWK replacement
> runs everwhere?
I tested
2016 Feb 24
1
compile error, param/loadparm.c
...=
Generating smbd/build_options.c
Building include/proto.h
creating
/media/FD2/Project/WAP-3522/rtl819x-SDK-v3.4.6.7-full-package/rtl819x/users/samba/samba-3.2.15/source/include/proto.h
/media/FD2/Project/WAP-3522/rtl819x-SDK-v3.4.6.7-full-package/rtl819x/users/samba/samba-3.2.15/source/script/mkproto.sh:
34:
/media/FD2/Project/WAP-3522/rtl819x-SDK-v3.4.6.7-full-package/rtl819x/users/samba/samba-3.2.15/source/script/mkproto.sh:
gawk: not found
Building include/build_env.h
creating
/media/FD2/Project/WAP-3522/rtl819x-SDK-v3.4.6.7-full-package/rtl819x/users/samba/samba-3.2.15/source/client/client_...
2004 Jan 09
0
Upgrading Samba: minimum requirements for Samba wrtSolaris and gcc
...;successfully, but 'make' seems to hang early:
>> ...
>>creating /home/troy/src/samba/samba-3.0.1/source/include/proto.h
>>[it hangs here for hours if I let it]
>This problem occurs if /usr/ucb is in your path ahead of /usr/bin or
>/bin. I tracked this behavior into mkproto.sh: the problem is with
the
>"tr" program in /usr/ucb. mkproto.sh uses "tr" in a pipeline like
this:
> ... | tr ' ' '\n' | ...
>/usr/ucb/tr substitutes spaces with "n" characters, where /usr/bin/tr
>substitutes newlines. It makes a HUGE d...
2004 Jan 08
1
Upgrading Samba: minimum requirements for Samba wrt Solaris and gcc
Greetings list!
I have a older Samba (v 2.0.7) server compiled with
an older gcc (v 2.8.1) running on an older Solaris
(v 2.5.1).
I would like to upgrade to a newer version of Samba.
I have had trouble compiling Samba version 3.0.1
with gcc version 2.8.1 on Solaris 2.5.1:
$ ./configure
checking for gcc... gcc
checking for C compiler default output... cat: cannot open conftest.c
configure:
2020 May 20
0
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...y, and it indeed uses SSSE3 automatically on supporting
> CPUs, regardless of the build host, so this should be ideal both for
> home builders and distros.
>
> Getting the code to build right in c++ mode (checksum_sse2.cpp only)
> was a bit of an adventure, requiring modifications to mkproto.awk,
> configure.ac, and Makefile.in.
>
> I've done my best to prevent any c++ compilation happening in case the
> optimizations are not enabled (g++ isn't used, build target isn't
> x86-64, or --disable-sse2 was passed to configure) and prevent a
> dependency on libst...
2004 Oct 18
2
Cannot apply delete-sent-files.diff on solaris platform
...the same purpose.
Unfortunately my patch under Solaris did'nt work, so I d/l the GNU version
of Patch and I could complete the patch of that diff file.
Then I execute a make proto per the instructions and receive the following.
bash-2.05# make proto
cat ./*.c ./lib/compat.c | awk -f ./mkproto.awk >./proto.h.new
awk: syntax error near line 12
awk: illegal statement near line 12
awk: syntax error near line 21
awk: bailing out near line 21
make: *** [proto] Error 2
Could someone shed some light on this. I need to run this this week. This
was supposed to be a simple upgrade....
2004 Jul 16
2
Can't build 3.0.4 under QNX 6.1.0
...otocolStats.png and TraceStats.png, but
this is probably (hopefully?) unimportant.]
4. From ...../samba-3.0.4/source I did
# ./configure | tee configure-messages.txt
and this seemed to work OK.
5. # make 2> make-stderr.txt | tee make-stdout.txt
This produced this error message:
gawk: script/mkproto.awk:14: fatal: cannot open file
`cnrpc_client/cli_lsarpc.cnrpc_client/cli_samr.cnrpc_client/cli_netlogon.cnrpc_client/...
[middle of very long error message line snipped]
..../srv_spoolss_nt.cnrpc_server/srv_echo.cnrpc_server/srv_echo_nt.cnsam/idmap.cnsam/idmap_util.cnsam/idmap_tdb.cnlibsmb/spne...
2020 May 18
3
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
What do you base this on?
Per https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html :
"For the x86-32 compiler, you must use -march=cpu-type, -msse or
-msse2 switches to enable SSE extensions and make this option
effective. For the x86-64 compiler, these extensions are enabled by
default."
That reads to me like we're fine for SSE2. As stated in my comments,
SSSE3 support must be
2003 Jan 10
1
make clean
...nc tls getgroups trimslash t_unsafe
+# Objects for CHECK_PROGS to clean
+CHECK_OBJS=getgroups.o t_stub.o t_unsafe.o trimslash.o
+
# note that the -I. is needed to handle config.h when using VPATH
.c.o:
@OBJ_SAVE@
@@ -106,7 +109,7 @@
cat $(srcdir)/*.c $(srcdir)/lib/compat.c | awk -f $(srcdir)/mkproto.awk > $(srcdir)/proto.h
clean: cleantests
- rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS)
+ rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS) $(CHECK_OBJS)
cleantests:
rm -rf ./testtmp*
2004 Feb 26
2
make fails on Solaris building include/proto.h
...m trying to build Samba 3.0.2 or 3.0.2a on a Solaris system (I've
tried both Solaris 8 and Solaris 9), and after successfully running
configure, the "make" step hangs building proto.h.
Checking the process table, the command that is hanging is:
nawk -v headername=_PROTO_H_ -f script/mkproto.awk
I've tried running this command by hand and it also hangs. I've
tried the nawk that comes with Solaris and also gawk to no avail.
I've searched the archives, and it looks like one other person had
the identical problem, but unfortunately there is no reply to his
question. I'...
2020 May 19
5
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...ctored the
patch that way, and it indeed uses SSSE3 automatically on supporting
CPUs, regardless of the build host, so this should be ideal both for
home builders and distros.
Getting the code to build right in c++ mode (checksum_sse2.cpp only)
was a bit of an adventure, requiring modifications to mkproto.awk,
configure.ac, and Makefile.in.
I've done my best to prevent any c++ compilation happening in case the
optimizations are not enabled (g++ isn't used, build target isn't
x86-64, or --disable-sse2 was passed to configure) and prevent a
dependency on libstdc++. I've tested that pa...
2003 Sep 05
0
CVS compile errors
...rberos/include
-I/var/local/compile/samba/source
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -L/usr/kerberos/lib
LDFLAGS = -L/usr/kerberos/lib
Generating smbd/build_options.c
Building include/proto.h
creating /var/local/compile/samba/source/include/proto.h
gawk: script/mkproto.awk:117: (FILENAME=lib/replace.c FNR=449) fatal:
cannot open file `lib/replace1.c' for reading (No such file or
directory)
Building include/wrepld_proto.h
creating /var/local/compile/samba/source/include/wrepld_proto.h
Building include/build_env.h
creating /var/local/compile/samba/source/nsswit...
2016 Jul 20
3
[Bug 12029] New: Makefile missing dep gives parallel race for rounding.h
...never before. Can't reproduce it on
my own machine.
> $ git clone ...
> ./configure --prefix=/path/to/sysroot/rpi/usr --disable-ipv6 --disable-locale --disable-iconv-open --disable-iconv --disable-acl-support --disable-xattr-support --host=arm-linux-gnueabihf
> $ make -j8
> perl ./mkproto.pl ./*.c ./lib/compat.c
> sed 's;\@bindir\@;/home/buildbot/slaves/enterprise-master/enterprise-rootfs-master/build/sysroot/rpi/usr/bin;g' <./rsync-ssl.in >rsync-ssl
> sed 's;\@stunnel4\@;stunnel;g' <./stunnel-rsync.in >stunnel-rsync
> sed 's;\@bindir\@;/home...
2002 Jul 12
0
Installation
...autoconf, just issue a warning
configure: configure.in
echo "WARNING: you need to rerun autoconf"
rsync.1: rsync.yo
yodl2man -o rsync.1 rsync.yo
rsyncd.conf.5: rsyncd.conf.yo
yodl2man -o rsyncd.conf.5 rsyncd.conf.yo
proto:
cat $(srcdir)/*.c $(srcdir)/lib/compat.c | awk -f $(srcdir)/mkproto.awk > $(srcdir)/proto.h
clean: cleantests
rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS)
cleantests:
rm -rf ./testtmp*
# We try to delete built files from both the source and build
# directories, just in case somebody previously configured things in
# the source directory.
distclean: clea...
2007 Dec 02
3
creation date and OSX
Hi,
I've been using rsync (OSX Tiger now Leopard) to backup my home
folder daily using -a -H -A -X link-dest=dir to make incremental
backups. There was a problem though since many files especially
images, movies etc would be recopied each time instead of creating
hard links. I have been testing the pre5 release and found that it
seems to make hard links correctly for all files. I
2002 Nov 20
0
[PATCH] Updated patch to rsync for Stratus VOS
...lib/snprintf.o
-t_unsafe: $(T_UNSAFE_OBJ)
+t_unsafe$(EXEEXT): $(T_UNSAFE_OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(T_UNSAFE_OBJ) $(LIBS)
# I don't like these rules because CVS can skew the timestamps and
@@ -106,7 +108,7 @@ proto:
cat $(srcdir)/*.c $(srcdir)/lib/compat.c | awk -f $(srcdir)/mkproto.awk > $(srcdir)/proto.h
clean: cleantests
- rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS)
+ rm -f *~ $(OBJS) $(TLS_OBJ) $(CHECK_PROGS)
cleantests:
rm -rf ./testtmp*
@@ -151,14 +153,14 @@ test: check
# might lose in the future where POSIX diverges from old sh.
check: all $(CHECK_PR...
2002 May 29
0
Need help compiling on HPUX 11.00 for 2.2.4
...:
@$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS)
$(BINDIR) $(SCRIPTS)
uninstallcp:
@$(SHELL) $(srcdir)/script/uninstallcp.sh $(CODEPAGEDIR)
$(CODEPAGELIST)
clean:
-rm -f core */*~ *~ */*.o */*.po */*.po32 */*.sl* */*.a
winbindd_proto:
@cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
-h _WINBINDD_PROTO_H_ nsswitch/winbindd_proto.h \
$(WINBINDD_OBJ1)
proto:
@echo rebuilding include/proto.h
@cd $(srcdir) && $(AWK) -f script/mkproto.awk `echo $(PROTO_OBJ) |
tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort -u | egrep -v 'ubiqx/|wrapp...