Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Installation (10.9) #3

Open
darksheer opened this issue Nov 22, 2013 · 1 comment
Open

OSX Installation (10.9) #3

darksheer opened this issue Nov 22, 2013 · 1 comment

Comments

@darksheer
Copy link

Tried giving this a go on OSX 10.9, but fails out.

Help?

Thanks,

rm -f dbd dbd.exe .o core
gcc -Wall -Wshadow -O2 -m32 -march=i386 -o dbd pel.c aes.c sha1.c doexec.c dbd.c -s
In file included from doexec.c:4:
./doexec_unix.h:164:52: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (pel_recv_msg(socketfd, buf, &cnt) != PEL_SUCCESS) {
^~~
./pel.h:27:50: note: passing argument to parameter 'msg' here
int pel_recv_msg( int sockfd, unsigned char *msg, int *length );
^
In file included from doexec.c:4:
./doexec_unix.h:199:52: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (pel_send_msg(socketfd, buf, cnt) != PEL_SUCCESS) {
^~~
./pel.h:26:50: note: passing argument to parameter 'msg' here
int pel_send_msg( int sockfd, unsigned char *msg, int length );
^
2 warnings generated.
In file included from dbd.c:246:
./misc.h:150:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (!(idstart = strstr(string, Id_string))) {
^~~~~~
/usr/include/string.h:89:26: note: passing argument to parameter here
char *strstr(const char *, const char *);
^
In file included from dbd.c:247:
./readwrite.h:223:50: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (pel_send_msg(peersd, stackbuf, strlen(stackbuf)) != PEL_SUCCESS) {
^~~~~~~~
./pel.h:26:50: note: passing argument to parameter 'msg' here
int pel_send_msg( int sockfd, unsigned char *msg, int length );
^
In file included from dbd.c:247:
./readwrite.h:230:46: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (pel_send_msg(peersd, buf, cnt) != PEL_SUCCESS) {
^~~
./pel.h:26:50: note: passing argument to parameter 'msg' here
int pel_send_msg( int sockfd, unsigned char *msg, int length );
^
In file included from dbd.c:247:
./readwrite.h:250:46: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (pel_recv_msg(peersd, buf, &cnt) != PEL_SUCCESS) {
^~~
./pel.h:27:50: note: passing argument to parameter 'msg' here
int pel_recv_msg( int sockfd, unsigned char *msg, int *length );
^
In file included from dbd.c:262:
./socket_code.h:247:58: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if ((clisd = accept(sd, (struct sockaddr
) &cliAddr, &clilen)) < 0) {
^~~~~~~
/usr/include/sys/socket.h:555:69: note: passing argument to parameter here
int accept(int, struct sockaddr * __restrict, socklen_t * __restrict)
^
In file included from dbd.c:262:
./socket_code.h:291:61: warning: passing 'int ' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (getsockname(clisd, (struct sockaddr
) &gsnAddr, &gsnlen)) {
^~~~~~~
/usr/include/sys/socket.h:561:74: note: passing argument to parameter here
int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
^

@darksheer
Copy link
Author

Any help with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant