› Foros › PlayStation 3 › Scene
Almacen:/tmp/ps3netsrv# make
gcc -Wall -I. -std=gnu99 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L. -L. -o ps3netsrv main.o compat.o File.o VIsoFile.o -lstdc++ -lpthread
Almacen:/tmp/ps3netsrv# ./ps3netsrv
Usage: ./ps3netsrv rootdirectory [port] [whitelist]
Default port: 38008
Whitelist: x.x.x.x, where x is 0-255 or * (e.g 192.168.1.* to allow only connections from 192.168.1.0-192.168.1.255)
Almacen:/tmp/ps3netsrv# ./ps3netsrv /c/HDD/Archivos\ de\ Interes/Consolas/PS3/Juegos/ 38008 192.168.10.116
Waiting for client...
Rejected connection from 192.168.10.116 (not in whitelist)
Rejected connection from 192.168.10.116 (not in whitelist)
Rejected connection from 192.168.10.116 (not in whitelist)
Rejected connection from 192.168.10.116 (not in whitelist)
Almacen:/tmp/ps3netsrv.bak# make
g++ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o main.o main.cpp
main.cpp: In function `int process_open_cmd(client_t*, netiso_open_cmd*)':
main.cpp:378: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp: In function `int process_create_cmd(client_t*, netiso_create_cmd*)':
main.cpp:588: warning: converting of negative value `-1' to `unsigned int'
main.cpp: In function `int process_open_dir_cmd(client_t*,
netiso_open_dir_cmd*)':
main.cpp:710: warning: converting of negative value `-1' to `unsigned int'
main.cpp: In function `int process_read_dir_entry_cmd(client_t*,
netiso_read_dir_entry_cmd*, int)':
main.cpp:752: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp:756: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp:777: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp:781: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp:800: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp:804: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp:871: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp:871: warning: converting of negative value `-1' to `long long unsigned
int'
main.cpp: In function `int process_stat_cmd(client_t*, netiso_stat_cmd*)':
main.cpp:1141: warning: converting of negative value `-1' to `long long
unsigned int'
gcc -Wall -I. -std=gnu99 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L. -L. -o ps3netsrv main.o compat.o File.o VIsoFile.o -lstdc++ -lpthread