Displaying 20 results from an estimated 600 matches similar to: "[PATCH] JOBS: fix klibc DEBUG compilation"
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
2011 Jul 08
1
[PATCH] [SHELL] Fix klibc DEBUG compilation v3
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 __KLIBC__
Compile tested with
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
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
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
2005 Aug 18
2
Asterisk configuration from database with res_config
I want to let Asterisk read its configuration from a mysql database. I
configured everything according to the wiki page:
http://www.voip-info.org/tiki-index.php?page=Asterisk+res_config.
However it doesn't work. I am using 1.0.8 asterisk version and here are
my config files:
Extconfig.conf:
[settings]
;uncomment to load queues.conf via the db engine.
;queues.conf =>
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
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
2007 Jan 03
4
Xenbus watch firing over and over
hi,
I am trying to add xenbus watch support to mini-os, but am getting into
a endless loop of watches firing over and over. Below is an excerpt from
the xenstore tracefile:
IN 0x805acc8 20070103 19:32:18 WATCH
(/local/domain/0/backend/vif/26/0/state 00043818 )
CREATE watch 0x805a8b8
OUT 0x805acc8 20070103 19:32:18 WATCH (OK )
OUT 0x805acc8 20070103 19:32:18 WATCH_EVENT
2017 Mar 20
2
Dovecot can't connect to openldap over starttls [REQUEST OF OPENLDAP]
I have a new pcap from beginning to the end with openldap "TLS
negoiation failed"
https://gwarband.de/openldap/tracefile.dump
The sourceports are 45376 and 45377
Tobias
Am 2017-03-20 19:59, schrieb Aki Tuomi:
> Well, those actually *reduce* the possible algorithms that can be
> used, so uncommenting those can make things worse.
>
> Anyways, your pcap seems incomplete,
2011 Jul 17
1
ODBC MySql DB: sqlQuery empty
Dear R Beginners, Experts and Users,
I already asked this question on the R-sig-DB mailing list, but sadly
didn't got a reply :-( .
Keeping fingers crossed that I have more luck on the main R mailinglist :) .
I'm trying to connect to a MySQl database via Gnu R using the RODBC
interface. The conenction workes but I get an empty result string.
Gnu R and the MySql DB are running on a 64 bit
2015 Feb 03
2
Problem with odbc connector with cdr
Hello,
I'm stuck with getting cdr records stored in MySql database. I have a
working realtime environment and have verified that the db connection works
fine when used via res_config_mysql.conf. I'd appreciate Your help on how
to get the odbc connector working as I think there's something wrong with
its configuration.
The problem presented itself as an error when making a call that
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
2017 Mar 20
2
Dovecot can't connect to openldap over starttls [REQUEST OF OPENLDAP]
The one that works fine was my openxchange server, that loads contacts
from openldap.
In my opinion I don't have installed a security framework list SELinux
or AppArmor.
The output of namei -l /etc/ssl/certs/LetsEncrypt.pem
f: /etc/ssl/certs/LetsEncrypt.pem
drwxr-xr-x root root /
drwxr-xr-x root root etc
drwxr-xr-x root root ssl
drwxr-xr-x root root certs
lrwxrwxrwx root
2006 Oct 18
2
echotraining=yes in misdn.conf is invalid or out of range.
Hi.
I'm having problems with chan_mISDN configuration. Line
"echotraining=yes" causes warning, when Asterisk is parsing misdn.conf
and I'm confused why the PBX doesn't accept the setting. No matter
which section I try to offer it, it is always invalid or out of range.
The setting itself is supposed to be valid, it is in the sample
configuration file of chan_mISDN 0.3.1.
2010 Jul 21
1
asterisk realtime SIP configuration
Hi All,
I am trying to configure asterisk realtime. But i am unable to get the
extensions listed successfully when i type "sip show peers" in the asterisk
CLI . i am unable to see any failure logs when i do a reload
i can able to connect to the data source through "odbc show" in the
CLI, Any hep in this regard is highly appreciated. Following is the
configuration