Skip to content

Instantly share code, notes, and snippets.

@epipenau
epipenau / gist:199bd7005187239c2fae
Created January 13, 2015 16:48
ambiguous map in litecoin source code
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/masked/litecoin/src -I/home/masked/litecoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/masked/litecoin/src/leveldb/include -I/home/masked/litecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:20:1: error: reference to 'map' is ambiguous
In file included from compat.h:24:0,
from netbase.h:11,
from util.h:30,
from alert.h:13,
from alert.cpp:11:
/usr/include/net/if.h:97:9: error: candidates are: struct map
In file included from /opt/local/gcc47/include/c++/map:61:0,
from alert.cpp:9:
prepare($sql); $prep_statement->execute(); $extensions = $prep_statement->fetchAll(PDO::FETCH_NAMED); unset ($prep_statement, $sql); //send the command $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); if ($fp) { $switch_cmd = 'show channels as json'; $switch_result = event_socket_request($fp, 'api '.$switch_cmd); $json_array = json_decode($switch_result, true); } //build the response $x = 0; foreach($extensions as &$row) { //add the extension details $array[$x] = $row; //set the call detail defaults $array[$x]["uuid"] = null; $array[$x]["direction"] = null; $array[$x]["created"] = null; $array[$x]["created_epoch"] = null; $array[$x]["name"] = null; $array[$x]["state"] = null; $array[$x]["cid_name"] = null; $array[$x]["cid_num"] = null; $array[$x]["ip_addr"] = null; $array[$x]["dest"] = null; $array[$x]["application"] = null; $array[$x]["application_data"] = null; $array[$x]["dialplan"] = null; $array[$x]["context"] = null; $ar
recv 303 bytes from udp/[203.161.164.69]:5060 at 10:34:42.404722:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 150.101.217.242:5062;received=150.101.217.242;branch=z9hG4bK2vS6SU0vtQKSe;rport=5062
From: "michael" <sip:[email protected]>;tag=17QSmegpgtt8D
To: <sip:[email protected]>
Call-ID: 1f7dec39-fc31-1232-efab-1dac0eedca15
CSeq: 68834377 INVITE
cc -O -I/root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/include/compat -I/root/netbsd/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/root/netbsd/src/usr.sbin/mtree -I/root/netbsd/src/sbin/mknod -DHOSTPROG -o pax ar_io.lo ar_subs.lo buf_subs.lo file_subs.lo ftree.lo gen_subs.lo getoldopt.lo options.lo pat_rep.lo pax.lo sel_subs.lo tables.lo tar.lo tty_subs.lo getid.lo spec.lo misc.lo pack_dev.lo cpio.lo -L/root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/lib -lnbcompat -lrt -lz
Undefined first referenced
symbol in file
optreset /root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/lib/libnbcompat.a(getopt_long.lo)
ld: fatal: symbol referencing errors. No output written to pax
collect2: error: ld returned 1 exit status
*** Failed target: pax
*** Failed command: cc -O -I/root/netbsd/src/obj/tooldir.SunOS-5.11-i86pc/include/compat -I/root/netbsd/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/root/netbsd/s
Via: SIP/2.0/UDP 10.1.1.39:5060;branch=z9hG4bK-e758da93
From: Albury iAdrenalin <sip:[email protected]>;tag=ee7e47c9bffde7e6o1
To: Albury iAdrenalin <sip:[email protected]>;tag=93meHpee9S99r
Call-ID: [email protected]
CSeq: 39565 REGISTER
Contact: <sip:[email protected]:5060>;expires=30
Date: Thu, 27 Nov 2014 12:54:14 GMT
User-Agent: FreeSWITCH-mod_sofia/1.4.7~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
location ~ ^/(images|javascripts|assets|stylesheets|uploads)/ {
root /opt/local/diaspora/public;
expires 30d;
add_header Cache-Control public;
access_log off;
}
ActionController::RoutingError (No route matches [GET] "/assets/icons/pen_write.png"):
lib/rack/chrome_frame.rb:39:in `call'
lib/unicorn_killer.rb:35:in `call'
gmake[3]: Entering directory '/opt/pkgsrc/lang/mono/work/mono-3.10.0/mono/dis'
CC get.o
get.c: In function 'get_constant':
get.c:2333:3: warning: implicit declaration of function 'isnormal' [-Wimplicit-function-declaration]
get.c:2333:3: warning: nested extern declaration of 'isnormal' [-Wnested-externs]
CC dis-cil.o
CC util.o
util.c: In function 'dis_isinf':
util.c:135:2: warning: implicit declaration of function 'isinf' [-Wimplicit-function-declaration]
AR libmonodis.a
# if defined(sun) && defined(__x86_64__)
# define X86_64
/* Test for SunOS 5.x */
# include <errno.h>
# ifdef ECHRNG
# define SUNOS5
# else
# define SUNOS4
# endif
# define mach_type_known
libtool: compile: gcc -m64 "-DPACKAGE_NAME=\"libgc-mono\"" "-DPACKAGE_TARNAME=\"libgc-mono\"" "-DPACKAGE_VERSION=\"6.6\"" "-DPACKAGE_STRING=\"libgc-mono 6.6\"" "-DPACKAGE_BUGREPORT=\"[email protected]\"" "-DPACKAGE_URL=\"\"" -DGC_SOLARIS_THREADS=1 -DGC_SOLARIS_PTHREADS=1 -DHAS___SYNC_BOOL_COMPARE_AND_SWAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 "-DLT_OBJDIR=\".libs/\"" -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./include -I./.. -I./.. -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP -DPLATFORM_SOLARIS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -Wno-deprecated-declarations -g -mno-tls-direct-seg-refs -MT os_dep.lo -MD -MP -MF .deps/os_dep.Tpo -c os_dep.c -fPIC -DPIC -o .libs/os_