similar to: [PATCH] [SHELL] Fix klibc DEBUG compilation v3

Displaying 20 results from an estimated 700 matches similar to: "[PATCH] [SHELL] Fix klibc DEBUG compilation v3"

2011 Jun 04
1
[PATCH] [SHELL] Fix klibc DEBUG compilation v2
dash didn't compile in DEBUG mode against klibc for all long time. Now it only fails at link stage for not having setlinebuf(3) and freopen(3). Fixes: usr/dash/show.o: In function `opentrace': show.c:(.text+0x36): undefined reference to `freopen' show.c:(.text+0x86): undefined reference to `setlinebuf' Skip setlinebuf and use fclose/fopen inside SMALL. Signed-off-by: maximilian
2012 Jul 02
0
[klibc:master] [SHELL] Fix klibc DEBUG compilation
Commit-ID: cebb8fc25475486605d12e25a3040ccacceede74 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=cebb8fc25475486605d12e25a3040ccacceede74 Author: maximilian attems <max at stro.at> AuthorDate: Fri, 15 Jul 2011 11:18:13 +0800 Committer: maximilian attems <max at stro.at> CommitDate: Mon, 2 Jul 2012 10:45:52 +0200 [klibc] [SHELL] Fix klibc DEBUG compilation
2011 Jun 03
1
[PATCH] JOBS: fix klibc DEBUG compilation
dash didn't compile in DEBUG mode against klibc for all long time. Now it fails at link stage for not having setlinebuf(3). Fixes: usr/dash/show.o: In function `opentrace': show.c:(.text+0x86): undefined reference to `setlinebuf' Signed-off-by: maximilian attems <max at stro.at> --- the last open error, looks more like a klibc bug to me, will fix it
2010 Sep 09
1
dash klibc DEBUG compile question
now with the proper flags passed and the jobs.c fix dash allmost compiles in DEBUG mode, the last two failures happen in show.c, which assumes some buffering functions that klibc doesn't provide: usr/dash/show.o: In function `opentrace': show.c:(.text+0x36): undefined reference to `freopen' show.c:(.text+0x86): undefined reference to `setlinebuf' afais this code dates from the
2006 May 22
1
Script AGI on C
Hi Folks: I used that one example for AGI script on C web, only to fill the working with the Asterisk. I compiled and it worked great. I executed accidentally the ls -l command in directory where was the source and executable, I noted and was surprised that because the executable size was to further 20 times more than source. I executed the gcc -Os source.c -o executable.agi command several
2001 Oct 27
1
setlinebuf vs. setvbuf: Caldera OpenUNIX8.
On Fri, 26 Oct 2001, Larry Rosenman wrote: :I tried to compile OpenSSH 2.9.9p2 on my Caldera OpenUNIX8 system and :it couldn't find setlinebuf. setlinebuf is a BSD compatibility :function. It was called from sftp-int.c. Looking at the code, there :is a #ifdef for HAVE_SETVBUF, but apparently configure isn't set to :look for setvbuf (which we DO have). : :I added a #define HAVE_SETVBUF 1
2008 Jan 27
1
[AGI 1.4] C sample?
Hello I'm pretty much a newbie when it comes to C, but I have to use this language to write a couple of AGI proggies because I need them to be statically compiled. Strangely enough, Google didn't return much when looking for the "Hello, world!" of AGI in C. The following doesn't work: The file never gets written: =========== //check_cid.c #include <stdio.h> #include
2002 Jul 18
1
'buildpkg.sh' for OpenSSH - non-interactive install?
I have a minor issue with the 'buildpkg.sh' script in the contrib/solaris directory for OpenSSH (3.4p1 in my case) that I'm hoping might be solvable. First off, I'd like to say that I've been quite happy with the script; for interactive installs, it's worked great. My problem is occurring due to my attempts to make it work non-interac- tively, however, within an init
1998 Nov 17
1
Failure to rename files that have active file handles
We have just installed Samba 1.9.18p10 on an Ultra Sparc, Solaris 2.5.1 . So far we have been very impressed with the resilience and performance of Samba in contrast to Hummingbird and Solstice NFS products while doing large product builds on our NT4.0 sp4 machines. However we have come across one little problem, which may be down to configuration, that has left us "worried" about
2006 Feb 25
9
trace("") prints hex dump table
I''m running SunOS unknown 5.11 snv_33 i86pc i386 i86pc and to print a blank line in the output of my script I tried adding: trace(""); which printed 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2006 May 12
10
why dtrace is not quiet?
i''m running the following script: #pragma D option quiet profile:::tick-1sec / ++x >= 15 / { exit(0); } io:::start { @io_size[execname] = sum(args[0]->b_bcount); } on exit, the script prints out the value of @io_size, why? there''s no printa(), and i also specified "D option quiet" (i also tried -q). this seems to happen with any kind of probe: on exit(0) all
2009 Nov 04
3
[PATCH x 3] Three small fixes for Debian
These small fixes are required to fix the build and tests on Debian (using the debootstrap/debirf appliance). There is currently another bug in the Debian tests which I'm looking into. hexdump always fails as follows: libguestfs: error: hexdump: hexdump: /test123: hexdump: /sysroot/test123: Bad file descriptor Rich. -- Richard Jones, Virtualization Group, Red Hat
2001 Dec 10
10
hang on exit bug under Linux
>From what I understand, the problem is due to people's disagreement about what the "correct" behavior should be. I'm pretty sure that the following is the correct behavior from running rsh and ssh often (both fsecure and openssh). Lets say you have a stupid script that does while 1 do sleep 1 done Called foreverSleep on your remote host: rsh remotehost
2005 Jan 24
3
cepstral integration with * using AGI?
Hi, I've looked at the Wiki for this, have seen the Swift.agi details, but has anyone got a current script for Cepstral and an example of integraton in * please? I'm a * and linux newbie, so please be gentle ;-) Thanks John
2020 Mar 28
0
[klibc:update-dash] dash: eval: Reset handler when entering a subshell
Commit-ID: 3f314ab5fe4a08b6e8d0ce34465298ba20f90def Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=3f314ab5fe4a08b6e8d0ce34465298ba20f90def Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Sun, 3 Mar 2019 21:57:50 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:55 +0000 [klibc] dash: eval: Reset
2009 May 05
1
Asterisk cdr_odbc problems
I'm trying to get asterisk cdr_odbc configured, but it can't connect through my odbc driver. switchboard*CLI> module load cdr_odbc [May 4 20:06:04] ERROR[17758]: cdr_odbc.c:358 odbc_load_module: cdr_odbc: Unable to connect to datasource: asterisk /etc/odbcinst.ini: [MySQL] Description = MySQL driver Driver = /usr/lib/odbc/libmyodbc.so Setup =
2004 Jul 22
1
app_dbodbc URGENT
I have been searching for the last two days and I cannot seem to set Asterisk to work from a database, can someone please tell me what I am doing wrong here? Here are my files [app_dbodbc.so] => (Database access functions for Asterisk extension logic) == Parsing '/etc/asterisk/odbc.conf': Found > app_dbodbc: dsn is MySQL-asterisk > app_dbodbc: username is
2005 May 25
15
PHP/AGI Problem
Hi I am currently developing a IVR application using PHP/AGI. I am using the PHPAGI class at http://phpagi.sourceforge.net/ to handle the commuication with my *. The application basically asks a caller to enter in some information which is then processed and a answer is read back out to them. I want the application to loop back to the beginning after giving the answer so they can try another
2004 May 10
1
RODBC in RAqua
I've been trying to get RODBC working in RAqua. For my database, let's call it "mydb", when I enter odbcConnect("mydb") or odbcConnect("mydb", uid="postgres", pwd="secret"), RAqua thinks for about 10 seconds, then crashes. mydb is a PostgreSQL 7.4.2 database running on my machine (Mac OS X 10.3.3). I am using the pgsqlodbc 7.2.5 driver
2011 Oct 16
0
[LLVMdev] llvm and stream error
Here is the code of the functions: int getStream()     {            int fd = _dup(fileno(stdout));            freopen("tmp","w",stdout);            return fd;     } void freeStream(int fd) {        _dup2(fd,fileno(stdout));        close(fd); } The code of main program: printf(“start tets”); int fd = getStream(); printf(“redirection”); freeStream(fd); This is a part of