RE: compiling problem
RE: compiling problem
- Subject: RE: compiling problem
- From: "Kenny Millar" <email@hidden>
- Date: Wed, 29 Mar 2006 09:32:25 +0100
- Organization: Kenny Millar
At first glance it looks like you have a
control flow problem in main – it is hitting the end of the function
without returning a value – so possibly jumping out of a loop or
conditional code fragment that you didn’t expect it to.
Or secondly…
One other cause would be that you have a
byte ordering problem with your communications..
PPC Machine is big-endian, Intel machine
is little endian.
-Kenny
From:
darwin-dev-bounces+kennymillar=email@hidden
[mailto:darwin-dev-bounces+kennymillar=email@hidden] On Behalf Of anil kumar dahiya
Sent: 29 March 2006 09:19
To: email@hidden
Subject: compiling problem
I have making a client program using openssl to take with Gateway
(running on i386 machine)
I compiled program test.c as below on linux (i386 ) and macos 10.3
(ppc).
gcc -ansi -DOPENSSL_THREADS -D_REENTRANT -DOPENSSL_NO_KRB5
-O3 -fomit-frame-pointer -fno-common -DL_ENDIAN -Wall -lssl
-lcrypto -o test test.c
test.c:38: warning: return type defaults to `int'
test.c: In function `main':
test.c:95: warning: control reaches end of non-void function
when i run test executable on linux (i386) its able to talk
with gateway properly
But when i run test executable on macos (ppc) ..connection
between client and gateway get estabish... Then
client is able send data to gateway but gateway does not resonse ...
I dont know why gateway is not ! able to sent data to client ( mac os
on ppc).. can anyone suggest whats going wrong.
Blab-away for as little as 1ยข/min. Make PC-to-Phone
Calls using Yahoo! Messenger with Voice.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden