arduino2max?

hello,
I want to use max with arduino but I’m having some problems
this is what I do:
1 I’m uploading the arduino2max C code for witch I get this mesage when I compile:
“o: In function main': multiple definition of main’o:C:\DOCUME~1\KONSTA~1\LOCALS~1\Temp\build57922.tmp\Temporary_5091_7350.cpp:2: first defined here”
2 I’m trying to run some max patches from the playground but they dont seem to work properly
for example :when I’m running the first patch called “Dimmer” the led blinks but nothing changes when I move the slider
I’m also getting an error message from max:
“Î error: serial: error opening serial port”

anybody can help?
hope I wasnt too confusing
thanks in advance