Created
March 26, 2014 16:33
-
-
Save dreamcat4/9787487 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
freenas ps3netsrv--/ root^> rm ./ps3netsrv++ | |
freenas ps3netsrv--/ root^> gmake CXX=/usr/local/bin/g++49 clean | |
rm *.o | |
freenas ps3netsrv--/ root^> gmake CXX=/usr/local/bin/g++49 | |
/usr/local/bin/g++49 -c -O3 -I./utils/inc -D_FILE_OFFSET_BITS=64 -DCONSOLE_SUPPORTS_COLOR -Wall -std=c++11 -Wfatal-errors -fpermissive -static ps3netsrv.cpp -o ps3netsrv.o | |
/usr/local/bin/g++49 -c -O3 -I./utils/inc -D_FILE_OFFSET_BITS=64 -DCONSOLE_SUPPORTS_COLOR -Wall -std=c++11 -Wfatal-errors -fpermissive -static utils/src/fileoperations.cpp -o fileoperations.o | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h: In function 'void utils::stringops::printLine(const Ts& ...)': | |
./utils/inc/utils/stringoperations.h:173:20: warning: there are no arguments to 'printf' that depend on a template parameter, so a declaration of 'printf' must be available [-fpermissive] | |
printf("\n"); | |
^ | |
./utils/inc/utils/stringoperations.h: In instantiation of 'void utils::stringops::print(const char*, const Ts& ...) [with Ts = {}]': | |
./utils/inc/utils/log.h:132:27: required from here | |
./utils/inc/utils/stringoperations.h:165:40: warning: 'printf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
printf(f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:271:6: note: 'int printf(const char*, ...)' declared here, later in the translation unit | |
int printf(const char * __restrict, ...); | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h: In instantiation of 'std::string utils::stringops::format(const char*, const Ts& ...) [with Ts = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char*}; std::string = std::basic_string<char>]': | |
utils/src/fileoperations.cpp:422:123: required from here | |
./utils/inc/utils/stringoperations.h:146:65: warning: 'snprintf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
int size = snprintf(nullptr, 0, f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:293:6: note: 'int snprintf(char*, size_t, const char*, ...)' declared here, later in the translation unit | |
int snprintf(char * __restrict, size_t, const char * __restrict, | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h:150:65: warning: 'snprintf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
snprintf(&ss[0], ss.size() + 1, f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:293:6: note: 'int snprintf(char*, size_t, const char*, ...)' declared here, later in the translation unit | |
int snprintf(char * __restrict, size_t, const char * __restrict, | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h: In instantiation of 'std::string utils::stringops::format(const char*, const Ts& ...) [with Ts = {}; std::string = std::basic_string<char>]': | |
./utils/inc/utils/log.h:145:60: required from 'static void utils::log::traceImpl(const string&, const Ts& ...) [with Ts = {}; std::string = std::basic_string<char>]' | |
./utils/inc/utils/log.h:57:36: required from 'static void utils::log::info(const char*, const T& ...) [with T = {}]' | |
./utils/inc/utils/log.h:48:23: required from here | |
./utils/inc/utils/stringoperations.h:146:65: warning: 'snprintf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
int size = snprintf(nullptr, 0, f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:293:6: note: 'int snprintf(char*, size_t, const char*, ...)' declared here, later in the translation unit | |
int snprintf(char * __restrict, size_t, const char * __restrict, | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h:150:65: warning: 'snprintf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
snprintf(&ss[0], ss.size() + 1, f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:293:6: note: 'int snprintf(char*, size_t, const char*, ...)' declared here, later in the translation unit | |
int snprintf(char * __restrict, size_t, const char * __restrict, | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h: In instantiation of 'void utils::stringops::printLine(const Ts& ...) [with Ts = {const char*}]': | |
./utils/inc/utils/log.h:153:65: required from 'static void utils::log::traceImpl(const string&, const Ts& ...) [with Ts = {}; std::string = std::basic_string<char>]' | |
./utils/inc/utils/log.h:57:36: required from 'static void utils::log::info(const char*, const T& ...) [with T = {}]' | |
./utils/inc/utils/log.h:48:23: required from here | |
./utils/inc/utils/stringoperations.h:173:20: warning: 'printf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
printf("\n"); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:271:6: note: 'int printf(const char*, ...)' declared here, later in the translation unit | |
int printf(const char * __restrict, ...); | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h: In instantiation of 'std::string utils::stringops::format(const char*, const Ts& ...) [with Ts = {char}; std::string = std::basic_string<char>]': | |
./utils/inc/utils/stringoperations.h:103:83: required from 'void utils::stringops::{anonymous}::checkFormat(const char*, const T&, const Ts& ...) [with T = const char*; Ts = {char*}]' | |
./utils/inc/utils/stringoperations.h:142:45: required from 'std::string utils::stringops::format(const char*, const Ts& ...) [with Ts = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char*}; std::string = std::basic_string<char>]' | |
utils/src/fileoperations.cpp:422:123: required from here | |
./utils/inc/utils/stringoperations.h:146:65: warning: 'snprintf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
int size = snprintf(nullptr, 0, f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:293:6: note: 'int snprintf(char*, size_t, const char*, ...)' declared here, later in the translation unit | |
int snprintf(char * __restrict, size_t, const char * __restrict, | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h:150:65: warning: 'snprintf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
snprintf(&ss[0], ss.size() + 1, f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:293:6: note: 'int snprintf(char*, size_t, const char*, ...)' declared here, later in the translation unit | |
int snprintf(char * __restrict, size_t, const char * __restrict, | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h: In instantiation of 'std::string utils::stringops::format(const char*, const Ts& ...) [with Ts = {char [12]}; std::string = std::basic_string<char>]': | |
./utils/inc/utils/log.h:145:60: required from 'static void utils::log::traceImpl(const string&, const Ts& ...) [with Ts = {char [12]}; std::string = std::basic_string<char>]' | |
./utils/inc/utils/log.h:114:36: required from 'static void utils::log::debug(const char*, const T& ...) [with T = {char [12]}]' | |
utils/src/fileoperations.cpp:474:101: required from here | |
./utils/inc/utils/stringoperations.h:146:65: warning: 'snprintf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
int size = snprintf(nullptr, 0, f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:293:6: note: 'int snprintf(char*, size_t, const char*, ...)' declared here, later in the translation unit | |
int snprintf(char * __restrict, size_t, const char * __restrict, | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h:150:65: warning: 'snprintf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
snprintf(&ss[0], ss.size() + 1, f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:293:6: note: 'int snprintf(char*, size_t, const char*, ...)' declared here, later in the translation unit | |
int snprintf(char * __restrict, size_t, const char * __restrict, | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h: In instantiation of 'void utils::stringops::printLine(const Ts& ...) [with Ts = {const char*, char [12]}]': | |
./utils/inc/utils/log.h:153:65: required from 'static void utils::log::traceImpl(const string&, const Ts& ...) [with Ts = {char [12]}; std::string = std::basic_string<char>]' | |
./utils/inc/utils/log.h:114:36: required from 'static void utils::log::debug(const char*, const T& ...) [with T = {char [12]}]' | |
utils/src/fileoperations.cpp:474:101: required from here | |
./utils/inc/utils/stringoperations.h:173:20: warning: 'printf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
printf("\n"); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:271:6: note: 'int printf(const char*, ...)' declared here, later in the translation unit | |
int printf(const char * __restrict, ...); | |
^ | |
In file included from utils/src/fileoperations.cpp:18:0: | |
./utils/inc/utils/stringoperations.h: In instantiation of 'void utils::stringops::print(const char*, const Ts& ...) [with Ts = {char [12]}]': | |
./utils/inc/utils/stringoperations.h:172:22: required from 'void utils::stringops::printLine(const Ts& ...) [with Ts = {const char*, char [12]}]' | |
./utils/inc/utils/log.h:153:65: required from 'static void utils::log::traceImpl(const string&, const Ts& ...) [with Ts = {char [12]}; std::string = std::basic_string<char>]' | |
./utils/inc/utils/log.h:114:36: required from 'static void utils::log::debug(const char*, const T& ...) [with T = {char [12]}]' | |
utils/src/fileoperations.cpp:474:101: required from here | |
./utils/inc/utils/stringoperations.h:165:40: warning: 'printf' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] | |
printf(f, normalizeArg(args)...); | |
^ | |
In file included from /usr/local/lib/gcc49/include/c++/cstdio:42:0, | |
from /usr/local/lib/gcc49/include/c++/fstream:41, | |
from utils/src/fileoperations.cpp:24: | |
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.1/4.9.0/include-fixed/stdio.h:271:6: note: 'int printf(const char*, ...)' declared here, later in the translation unit | |
int printf(const char * __restrict, ...); | |
^ | |
/usr/local/bin/g++49 -c -O3 -I./utils/inc -D_FILE_OFFSET_BITS=64 -DCONSOLE_SUPPORTS_COLOR -Wall -std=c++11 -Wfatal-errors -fpermissive -static utils/src/log.cpp -o log.o | |
/usr/local/bin/g++49 -O3 -I./utils/inc -D_FILE_OFFSET_BITS=64 -DCONSOLE_SUPPORTS_COLOR -Wall -std=c++11 -Wfatal-errors -fpermissive -static ps3netsrv.o fileoperations.o log.o -lpthread -o ps3netsrv++ | |
freenas ps3netsrv--/ root^> ./ps3netsrv++ -p 38008 /mnt/pool0/id/Media/Games | |
INFO: [16:32:58.329] Waiting for client... | |
INFO: [16:33:02.121] Connection from 192.168.1.18 | |
DEBUG: [16:33:02.121] [0x800809800] openDirectory | |
DEBUG: [16:33:02.121] [0x800809800] operator() | |
DEBUG: [16:33:02.121] [0x800809800] operator() m_Directory = std::make_unique<fileops::Directory>(readFilePath()); | |
DEBUG: [16:33:02.121] [0x800809800] readFilePath | |
DEBUG: [16:33:02.121] [0x800809800] readFilePath return fileops::combinePath(m_rootPath, m_Socket.readString(m_Command.size)); | |
DEBUG: [16:33:02.121] [0x800809800] combinePath | |
DEBUG: [16:33:02.121] [0x800809800] combinePath std::string path = left; | |
DEBUG: [16:33:02.121] [0x800809800] combinePath return path; | |
Abort trap: 6 | |
freenas ps3netsrv--/ root^> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment