**** BEGIN LOGGING AT Thu Feb 17 02:59:58 2011 Feb 17 03:59:54 build #70 of uml is complete: Failure [failed compile_3] Build details are at http://tksite.gotdns.org:8010/builders/uml/builds/70 Feb 17 04:16:27 build #71 of x86 is complete: Failure [failed compile_3] Build details are at http://tksite.gotdns.org:8010/builders/x86/builds/71 Feb 17 05:13:49 how easy is it to just add files to the rootfs at build time, and apps to be built **** BEGIN LOGGING AT Thu Feb 17 07:32:21 2011 Feb 17 07:46:07 zandbelt * r25563 /packages/net/asterisk-1.8.x/Makefile: [packages] asterisk-1.8.x: fix typo in res_rtp modules inclusion Feb 17 11:01:32 CcSsNET: very easy Feb 17 13:12:50 hi Feb 17 13:12:54 ping thepeople Feb 17 17:03:30 build #82 of ppc40x is complete: Failure [failed compile_6] Build details are at http://tksite.gotdns.org:8010/builders/ppc40x/builds/82 Feb 17 18:03:19 ping thepeople Feb 17 18:03:35 ping nbd Feb 17 18:38:54 wo is der fehler in der zeile? CTCS.m_port = atoi(s = (strchr(*cfg_ctcs, ':')+1)); Feb 17 18:38:54 Config cfg_ctcs; Feb 17 18:38:54 char* s; Feb 17 18:38:54 m_port ist ein int Feb 17 18:38:58 spache c++ Feb 17 18:39:00 btconfig.cpp:832: error: invalid conversion from 'const char*' to 'char*' Feb 17 18:40:26 ohh im sorry - its - where is the error in this line Feb 17 18:40:47 gcc is being anal about const and non const strings Feb 17 18:41:11 ? Feb 17 18:43:03 tripolar: strchr returns a const char*, but s is a char * Feb 17 18:43:07 atoi() expects a const char * but gets a char * Feb 17 18:43:37 KanjiMonster: my manpage says that strchr returns non-const char * Feb 17 18:44:23 tripolar: try this: CTCS.m_port = atoi((const char *)(s = (strchr(*cfg_ctcs, ':')+1))); Feb 17 18:44:24 mh, I just took the first google hit, which says that it keeps the qualitfier, but that may be c only Feb 17 18:44:59 weird expression Feb 17 18:45:47 I bet it segfaults if atoi() attempts to parse an int from 0x1 Feb 17 18:46:10 if no colon was found in the string Feb 17 18:47:06 btconfig.cpp:832: error: invalid conversion from 'const char*' to 'char*' Feb 17 18:47:16 CTCS.m_port = atoi((const char *)(s = (strchr(*cfg_ctcs, ':')+1))); Feb 17 18:47:32 @xMff - i tried that befor Feb 17 18:47:38 xMff: wouldn't it complain about 'char *' to 'const char*' conversion if its what you say? Feb 17 18:47:38 I the "s" used anywhere else? Feb 17 18:47:48 KanjiMonster: oops, right Feb 17 18:48:07 yes one line later Feb 17 18:48:09 if( strchr(s, ':') ) Feb 17 18:48:50 then try this: CTCS.m_port = atoi(s = (char *)(strchr(*cfg_ctcs, ':')+1)); Feb 17 18:49:21 but strchr should retunr a char* Feb 17 18:49:23 char *strchr(const char *s, int c); Feb 17 18:50:01 seems it has two "personalities" in C++ Feb 17 18:50:07 const char * strchr ( const char * str, int character ); Feb 17 18:50:09 and Feb 17 18:50:18 char * strchr ( char * str, int character ); Feb 17 18:50:31 if the first arg is const, the return value will be const too Feb 17 18:51:09 hm... "overloaded" is the right term I think Feb 17 18:52:01 same error Feb 17 18:52:03 CTCS.m_port = atoi((char *)(s = (strchr(*cfg_ctcs, ':')+1))); Feb 17 18:52:12 fun Feb 17 18:52:28 tripolar: you have to cast the result before assigning to s, not after Feb 17 18:52:45 or make c const char* Feb 17 18:52:58 err.. s const char* Feb 17 18:53:35 I believe both this should work: CTCS.m_port = atoi(s = (char *)(strchr(*cfg_ctcs, ':')+1)); or CTCS.m_port = atoi(s = (strchr((char *)*cfg_ctcs, ':')+1)); Feb 17 18:58:09 or making s const, unless tripolar wants to modify the actual string ;) Feb 17 18:58:12 worked Feb 17 18:58:24 @xMff thanks Feb 17 18:58:45 KanjiMonster: who knows where else it is used Feb 17 19:02:10 nbd * r25564 /trunk/package/busybox/Makefile: busybox: only add a build dependency on librpc if uclibc is selected Feb 17 19:02:12 nbd * r25565 /trunk/package/librpc/Makefile: librpc: do not attempt to compile if uclibc is not selected Feb 18 02:12:46 jow_laptop: I just posted this (https://forum.openwrt.org/viewtopic.php?id=28706) where it shows the preparation on uClibc-0.9.32_git with GCC-4.4.5 fails. Feb 18 02:46:18 build #67 of xburst is complete: Success [build successful] Build details are at http://tksite.gotdns.org:8010/builders/xburst/builds/67 **** ENDING LOGGING AT Fri Feb 18 02:59:57 2011