search for: _binary_

Displaying 20 results from an estimated 20 matches for "_binary_".

2017 Aug 23
0
[PATCH v2 supermin 1/1] Switch binary embedding to a C source
...ile for the GNU assembler which shuold -# result in an object file equivalent to that of +# This script creates a C snippet embedding an arbitrary file # -# objcopy -I binary -B $(DEFAULT_ARCH) -O $(ELF_DEFAULT_ARCH) <in> <out> +# The output provides two variables: +# static const char _binary_$name[]; +# static const size_t _binary_$name_len; use strict; use warnings; @@ -36,28 +37,21 @@ $infile_basename =~ s{.*/}{}; print $ofh <<"EOF"; /* This file has been automatically generated from $infile by $0 */ -/* Mark stack as non-executable for GNU tools. */ -\t.sectio...
2017 Aug 23
2
[PATCH v2 supermin 0/1] Fix embedding of init
Hi, this patch replaces the first simpler version: https://www.redhat.com/archives/libguestfs/2017-August/msg00117.html The approach now is to use a C snippet, which should pose way less compatibility issues. Thanks, Pino Toscano (1): Switch binary embedding to a C source .gitignore | 2 +- src/Makefile.am | 18 +++++++++--------- src/{bin2s.pl => bin2c.pl} |
2011 Aug 24
1
[PATCH] febootstrap-supermin-helper: Replace objcopy call for embedding init binary
...GV; +my ($buf, $i, $sz); +open my $ifh, '<', $infile or die "open $infile: $!"; +open my $ofh, '>', $outfile or die "open $outfile: $!"; + +print $ofh <<"EOF"; +/* This file has been automatically generated from $infile by $0 */ + +\t.globl\t_binary_${infile}_start +\t.globl\t_binary_${infile}_end +\t.globl\t_binary_${infile}_size + +\t.section\t.data +_binary_${infile}_start: +EOF + +$sz = 0; +while ( $i = read $ifh, $buf, 12 ) { + print $ofh "\t.byte\t" + . join( ',', map { sprintf '0x%02x', ord $_ } split //...
2017 Oct 21
2
Problem when installing lme4 under Debian stretch
...led E: Unable to correct problems, you have held broken packages. Given the message, should I assume that lme4 (and car) cannot be installed on my setup? Many thanks in advance! On Sat, Oct 21, 2017 at 2:22 PM, Dirk Eddelbuettel <edd at debian.org> wrote: > > I would start with the _binary_ package you can install via > > sudo apt-get install r-cran-car > > which will take care of all dependecies. > > Building some of these package on small hardware can be challenging simply > due to lack of RAM --- and ditto for minimal cloud instances with small RAM > foot...
2017 Aug 23
1
[PATCH supermin] bin2s: make sure the data is aligned
...ytes, which should work fine for both 32bit and 64bit architectures. --- src/bin2s.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin2s.pl b/src/bin2s.pl index 6c70446..67ff1f2 100755 --- a/src/bin2s.pl +++ b/src/bin2s.pl @@ -44,6 +44,7 @@ print $ofh <<"EOF"; \t.globl\t_binary_${infile_basename}_end \t.section\t.rodata +\t.align 8 _binary_${infile_basename}_start: EOF -- 2.13.5
2017 Oct 21
2
Problem when installing lme4 under Debian stretch
I am a new user in the Linux environment and recently encountered an error when trying to install the car package. The error was related to installation of a dependency (lme4). Here is the output from the installation: * installing *source* package ?lme4? ... ** package ?lme4? successfully unpacked and MD5 sums checked ** libs g++ -I/usr/share/R/include -DNDEBUG
2013 Jun 13
2
Cannot install XML package with R 3.0 and Ubuntu 12.04
Hi, I am unable to install the R package XML using R 3.0.1 on Ubuntu 12.04 LTS (64-bit). After the installation failed using install.packages, I followed previous directions for installing R packages on Ubuntu (R-SIG-Debian<http://grokbase.com/t/r/r-sig-debian/127nwwez27/package-xml-does-not-load-in-r-2-15-1>,
2015 Dec 31
0
[PATCH] init: Use .rodata instead of .data.
...hread: https://news.ycombinator.com/item?id=10816921 --- src/bin2s.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin2s.pl b/src/bin2s.pl index 0f892f8..ccb060b 100755 --- a/src/bin2s.pl +++ b/src/bin2s.pl @@ -26,7 +26,7 @@ print $ofh <<"EOF"; \t.globl\t_binary_${infile}_end \t.globl\t_binary_${infile}_size -\t.section\t.data +\t.section\t.rodata _binary_${infile}_start: EOF -- 2.5.0
2018 May 02
1
Two questions on r-base-3.5 transition
Dear R debian maintainers! As maintainer of rkward, I will be affected by the "r-base-3.5" transition. Could you help me by answering the following two questions? 1) Is there any (upper / lower) time estimate on when 3.5.0 will enter sid? I have at least one somewhat-important-but-easy-to-fix-issue pending for rkward. So far I figured I would delay this until R 3.5.0 has entered sid,
2000 Jun 23
1
*.texi file
Dear Prof Ripley an d the R core team: I have installed the new RW1010. But I can't see (in RW1010\doc\manual ) the file R-intro.texi I'd like to know if I have done something wrong. Thank you, Juan Antonio -- =========================================== J.A.Caballero M. Dpto. Estadistica e Investigacion Operativa Campus de Rabanales Edificio C-II Universidad de Cordoba 14080 SPAIN
2006 Sep 24
2
PXELINUX Test on 3Com Card
PCI CARD: Model 3C095C - TX - M MBA v4.32 Result: DHCP ok TFTP ok (pxelinux.0 transfer correct) But nothing happens more, no SAY messages, no PROMPT, no DISPLAY, no KERNEL loading Thanx Peter, see you _________________________________________________________________ Recibe ofertas de empleo adaptadas a tu perfil. [1]Introduce tu CV en MSN Empleo.
2012 Sep 17
1
Compiling R2.15.1 on ubuntu with x86-64 architecture and shared library
I am sure I am providing insufficient information, please ask for more. I installed R 2.14.2 on my Ubuntu laptop with and AMD64 processor and also installed RStudio and everything worked fine. Now, I tried to build R 2.15.1 from source and installed it using defaults. RStudio now complained that R was not built as a shared library. Went back and uninstalled, and configured with -enable-R-shlib
2017 Oct 21
0
Problem when installing lme4 under Debian stretch
...r-base-core' and 'apt-cache show r-cran-cran' want r-api-3. On Debian testing is should match too. Maybe the Raspian repo you have needs to catch up. Dirk | | On Sat, Oct 21, 2017 at 2:22 PM, Dirk Eddelbuettel <edd at debian.org> wrote: | | > | > I would start with the _binary_ package you can install via | > | > sudo apt-get install r-cran-car | > | > which will take care of all dependecies. | > | > Building some of these package on small hardware can be challenging simply | > due to lack of RAM --- and ditto for minimal cloud instances with small...
2013 Jun 15
1
r-cran-rjava (ubuntu 13.04 ?) -- missing dependencies?
I am really no java lover, but for some reason had interested to look at an R package that depends on rJava... and when I tried, I was *again* (it is my usual experience for more than 10 years) unable to get rJava installed, as indeed, also 'R CMD javareconf' ended in an error that jni.h was not found. I see the issue here,
2017 Oct 21
1
Problem when installing lme4 under Debian stretch
...pt-cache show r-cran-cran' want r-api-3. > > On Debian testing is should match too. Maybe the Raspian repo you have > needs to catch up. > > Dirk > > | On Sat, Oct 21, 2017 at 2:22 PM, Dirk Eddelbuettel <edd at debian.org> wrote: > | > I would start with the _binary_ package you can install via > | > > | > sudo apt-get install r-cran-car > | > > | > which will take care of all dependecies. > | > > | > Building some of these package on small hardware can be challenging > | > simply > | > due to lack of RAM --...
2003 Jul 23
3
ov_open returning OV_EBADHEADER
Hi there. I'm having this problem when trying to open the stream to play it. What I'm doing is the following: archivo_original = fopen(Archivo.c_str(), "r"); if (archivo_original == NULL) { if (EventLog) EventLog->WriteString(Format("No se pudo abrir el archivo %s", ARRAYOFCONST((Archivo)))); WaveOut->Stop(); return; }
2016 Feb 17
8
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
v1 -> v2: - If we split out the init program into a separate init/ directory, that makes it much easier to build against an alternate libc. I tried to build against uClibc, but uClibc requires an entire build chain, which looked like it was going to be a massive ballache. Rich.
2015 Jan 08
5
logrotate script not working
Hey guys, Got a quick question and I hope this is an easy one! In my /etc/logrotate.conf file I have the following entry: # rotate all of the apache logs -- we'll rotate them here /var/log/mysqld.log { weekly size 50M create 0644 mysql mysql rotate 1 } And from that I would expect the log to rotate when it reaches 50M in size. However I just caught that log weighing
2009 May 05
4
problem with rgl package
Dear R People: Here is something strange. I'm using Ubuntu 9.04 with R 2.9.0. I need to have the rgl package. Here are my results from installing: > install.packages("rgl") Warning in install.packages("rgl") : argument 'lib' is missing: using '/usr/local/lib/R/site-library' --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...GV; -my ($buf, $i, $sz); -open my $ifh, '<', $infile or die "open $infile: $!"; -open my $ofh, '>', $outfile or die "open $outfile: $!"; - -print $ofh <<"EOF"; -/* This file has been automatically generated from $infile by $0 */ - -\t.globl\t_binary_${infile}_start -\t.globl\t_binary_${infile}_end -\t.globl\t_binary_${infile}_size - -\t.section\t.data -_binary_${infile}_start: -EOF - -$sz = 0; -while ( $i = read $ifh, $buf, 12 ) { - print $ofh "\t.byte\t" - . join( ',', map { sprintf '0x%02x', ord $_ } split //...