[Planetlab-users] compile CoDeploy under a 64 bit machine
KyoungSoo Park
kyoungso at CS.Princeton.EDU
Mon Jul 28 15:33:23 EDT 2008
I just tried compiling on a 64-bit Linux machine,
and it worked fine. Can you give me the full trace of make?
Your trace seems to say applib.o and gettimeofdayex.o are
from the 32-bit binary format. Why don't you try 'make clean; make'?
--KyoungSoo
Khanh Nguyen wrote:
> Hello,
>
> I am new to PlanetLab. I am following the HelloWorld tutorial and get
> stopped when I tried to compile CoDeploy in my machine. It is a 64
> bits machine. Here is the error
>
> [khanh at localhost codeploy]$ make
> gcc -DNON_API_ONLY -Wall -Wshadow -Wunused -g -O -I/usr/local/include
> -o multiquery multiquery.o applib.o gettimeofdayex.o -lm -lm
> /usr/bin/ld: i386 architecture of input file `applib.o' is
> incompatible with i386:x86-64 output
> /usr/bin/ld: i386 architecture of input file `gettimeofdayex.o' is
> incompatible with i386:x86-64 output
> gettimeofdayex.o: In function `gettimeofdayex':
> /home/knguyen/planetlab/hello_world/codeploy/gettimeofdayex.c:106:
> undefined reference to `__udivdi3'
> /home/knguyen/planetlab/hello_world/codeploy/gettimeofdayex.c:107:
> undefined reference to `__umoddi3'
> collect2: ld returned 1 exit status
> make: *** [multiquery] Error 1
>
>
> Any suggestions would be really appreciated.
>
> Thanks,
>
> -k
>
> On Mon, Jul 28, 2008 at 2:40 PM, Hecker W <heckerme at gmail.com> wrote:
>> Hi Sapan,
>>
>> I have tested my code on alice,delta and planetlab-7. I got totally
>> different results on these three nodes!
>> 1) For planetlab-7, the problem has been solved. I have been
>> successfully run the TCPDUMP. I got the TCP SYN/ACK and all the
>> payloads. I have done tcp reassembly and recovered the file I
>> transfer. They are indeed same!
>> 2) For alice, I think I might get all the payload packets. However,
>> the TCP SYN/ACK packet comes AFTER the TCP ACK packet from the
>> senders, although TCP SYN/ACK packet's timestamp is earlier. In other
>> words, the tcpdump trace is not sorted by the timestamp which make my
>> analysis tool fail.
>> 3) For delta, I only get outgoing direction traffic (same for TCP and UDP).
>>
>> If you guys can make every node like planetlab-7, my problem is
>> solved. Thanks a lot!
>>
>> If you guys need me to provide any trace or other information, please
>> just let me know.
>>
>> -Zhichun
>>
>> On Sun, Jul 27, 2008 at 11:14 PM, Sapan Bhatia <sapanb at cs.princeton.edu> wrote:
>>> Hello,
>>>
>>> The following issues have (hopefully) been resolved on a set of alpha
>>> nodes (listed below). If you complained about any of them, then please
>>> kindly retry your code to verify the fixes.
>>>
>>> * Intermittent loss of TCP payload packets with packet sockets
>>> * Syn/Ack packets not showing up in tcpdump
>>> * TCP-related ICMP error messages not showing up in tcpdump.
>>>
>>> The nodes are: [alice,delta].cs.princeton.edu and planetlab-7.cs.princeton.edu.
>>>
>>> Please verify all three nodes, if possible.
>>>
>>> Thanks in advance,
>>> Sapan
>>>
>> _______________________________________________
>> Users mailing list: Users at lists.planet-lab.org
>> https://lists.planet-lab.org/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list: Users at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/users
>
More information about the Users
mailing list