Multiple Mac OSX problems

This is where you talk about the RCX software itself, installation issues, and programming talk.

Moderator: roger

Multiple Mac OSX problems

Postby daw3rd » Sat Jan 19, 2008 5:39 pm

Our goal is to get lejos working in Eclipse on MacOSX. We've tried both Eclipse 3.2 and 3.3 and run into problems when loading the firmware from the lejos menu. We get the following error message:

An internal error occurred during: "leJOS firmware download".
close

Ok, next problem. We tried to download the source distribution version 1.2.0 and can't build until we get ourselves a make utility. Fine, we downloaded Xcode 2.5 and now have gnumake. We run gnumake with no args and get listing at the end. What are we doing wrong? Any help is greatly appreciated.

Finally, is there an already-built distribution of lejos or is that what the elipse plugin is supposed to be?

Thanks again.

riley-woods-macbook:lejos_2_1_0 rileywood$ set
Apple_PubSub_Socket_Render=/tmp/launch-1wKWCC/Render
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="17" [3]="1" [4]="release" [5]="i386-apple-darwin9.0")
BASH_VERSION='3.2.17(1)-release'
COLUMNS=80
COMMAND_MODE=unix2003
DIRSTACK=()
DISPLAY=/tmp/launch-lQS1B9/:0
EUID=501
GROUPS=()
HISTFILE=/Users/rileywood/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/Users/rileywood
HOSTNAME=riley-woods-macbook.local
HOSTTYPE=i386
IFS=$' \t\n'
LANG=en_US.UTF-8
LEJOS_HOME=/Users/rileywood/Desktop/lejos_2_1_0
LINES=24
LOGNAME=rileywood
MACHTYPE=i386-apple-darwin9.0
MAILCHECK=60
MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man
OLDPWD=/Users/rileywood/Desktop
OPTERR=1
OPTIND=1
OSTYPE=darwin9.0
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Xcode2.5/usr/bin
PIPESTATUS=([0]="0")
PPID=14730
PS1='\h:\W \u\$ '
PS2='> '
PS4='+ '
PWD=/Users/rileywood/Desktop/lejos_2_1_0
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SSH_AUTH_SOCK=/tmp/launch-ScE2Nw/Listeners
TERM=xterm-color
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=237
TMPDIR=/var/folders/l7/l7hroPYlEW8-3lfjbfJ+hk+++TI/-Tmp-/
UID=501
USER=rileywood
_=ls
__CF_USER_TEXT_ENCODING=0x1F5:0:0
riley-woods-macbook:lejos_2_1_0 rileywood$ gnumake
cd tools; gnumake OSTYPE=darwin
cd firmdl; gnumake
gcc -c -O2 -g osx_usb.c
In file included from osx_usb.c:27:
osx_usb.h:29:43: error: CoreFoundation/CoreFoundation.h: No such file or directory
osx_usb.h:30:20: error: unistd.h: No such file or directory
osx_usb.h:31:22: error: sys/time.h: No such file or directory
osx_usb.h:33:28: error: IOKit/IOKitLib.h: No such file or directory
osx_usb.h:34:30: error: IOKit/IOCFPlugIn.h: No such file or directory
osx_usb.h:35:32: error: IOKit/usb/IOUSBLib.h: No such file or directory
osx_usb.h:36:31: error: IOKit/usb/USBSpec.h: No such file or directory
In file included from osx_usb.c:27:
osx_usb.h:52: error: parse error before ‘gRawAddedIter’
osx_usb.h:52: warning: data definition has no type or storage class
osx_usb.h:58: error: parse error before ‘*’ token
osx_usb.h:58: warning: data definition has no type or storage class
osx_usb.h:61: error: parse error before ‘*’ token
osx_usb.h:63: error: parse error before ‘*’ token
osx_usb.h:65: error: parse error before ‘*’ token
osx_usb.h:67: error: parse error before ‘*’ token
osx_usb.h:69: error: parse error before ‘*’ token
osx_usb.c:41: error: parse error before ‘gMasterPort’
osx_usb.c:41: warning: data definition has no type or storage class
osx_usb.c:42: error: parse error before ‘*’ token
osx_usb.c:42: error: ‘NULL’ undeclared here (not in a function)
osx_usb.c:42: warning: data definition has no type or storage class
osx_usb.c:44: error: parse error before ‘*’ token
osx_usb.c:47: error: parse error before ‘IOReturn’
osx_usb.c:52: error: parse error before ‘io_iterator_t’
osx_usb.c:54: error: parse error before ‘ConfigureDevice’
osx_usb.c:54: error: parse error before ‘*’ token
osx_usb.c: In function ‘ConfigureDevice’:
osx_usb.c:55: error: ‘UInt8’ undeclared (first use in this function)
osx_usb.c:55: error: (Each undeclared identifier is reported only once
osx_usb.c:55: error: for each function it appears in.)
osx_usb.c:55: error: parse error before ‘numConfig’
osx_usb.c:56: error: ‘IOReturn’ undeclared (first use in this function)
osx_usb.c:57: error: ‘IOUSBConfigurationDescriptorPtr’ undeclared (first use in this function)
osx_usb.c:60: error: ‘result’ undeclared (first use in this function)
osx_usb.c:60: error: request for member ‘GetNumberOfConfigurations’ in something not a structure or union
osx_usb.c:60: error: ‘numConfig’ undeclared (first use in this function)
osx_usb.c:66: error: request for member ‘GetConfigurationDescriptorPtr’ in something not a structure or union
osx_usb.c:66: error: ‘configDesc’ undeclared (first use in this function)
osx_usb.c:68: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:77: error: request for member ‘SetConfiguration’ in something not a structure or union
osx_usb.c:80: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:84: error: ‘kIOReturnSuccess’ undeclared (first use in this function)
osx_usb.c: At top level:
osx_usb.c:87: error: parse error before ‘FindInterfaces’
osx_usb.c:87: error: parse error before ‘*’ token
osx_usb.c: In function ‘FindInterfaces’:
osx_usb.c:89: error: ‘IOReturn’ undeclared (first use in this function)
osx_usb.c:89: error: parse error before ‘kr’
osx_usb.c:90: error: ‘IOUSBFindInterfaceRequest’ undeclared (first use in this function)
osx_usb.c:91: error: ‘io_iterator_t’ undeclared (first use in this function)
osx_usb.c:92: error: ‘io_service_t’ undeclared (first use in this function)
osx_usb.c:93: error: ‘IOUSBInterfaceInterface’ undeclared (first use in this function)
osx_usb.c:93: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:94: error: ‘IOCFPlugInInterface’ undeclared (first use in this function)
osx_usb.c:94: error: ‘plugInInterface’ undeclared (first use in this function)
osx_usb.c:95: error: ‘HRESULT’ undeclared (first use in this function)
osx_usb.c:95: error: parse error before ‘res’
osx_usb.c:96: error: ‘SInt32’ undeclared (first use in this function)
osx_usb.c:97: error: ‘UInt8’ undeclared (first use in this function)
osx_usb.c:101: error: ‘CFRunLoopSourceRef’ undeclared (first use in this function)
osx_usb.c:101: error: parse error before ‘runLoopSource’
osx_usb.c:103: error: ‘request’ undeclared (first use in this function)
osx_usb.c:103: error: ‘kIOUSBFindInterfaceDontCare’ undeclared (first use in this function)
osx_usb.c:108: error: ‘kr’ undeclared (first use in this function)
osx_usb.c:108: error: request for member ‘CreateInterfaceIterator’ in something not a structure or union
osx_usb.c:108: error: ‘iterator’ undeclared (first use in this function)
osx_usb.c:110: error: ‘usbInterface’ undeclared (first use in this function)
osx_usb.c:115: error: ‘kIOUSBInterfaceUserClientTypeID’ undeclared (first use in this function)
osx_usb.c:115: error: ‘kIOCFPlugInInterfaceID’ undeclared (first use in this function)
osx_usb.c:115: error: ‘score’ undeclared (first use in this function)
osx_usb.c:117: error: ‘kIOReturnSuccess’ undeclared (first use in this function)
osx_usb.c:119: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:124: error: ‘res’ undeclared (first use in this function)
osx_usb.c:124: error: ‘kIOUSBInterfaceInterfaceID’ undeclared (first use in this function)
osx_usb.c:124: error: ‘LPVOID’ undeclared (first use in this function)
osx_usb.c:128: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:137: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:142: error: ‘runLoopSource’ undeclared (first use in this function)
osx_usb.c:145: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:150: error: ‘kCFRunLoopDefaultMode’ undeclared (first use in this function)
osx_usb.c:154: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:156: error: ‘itf’ undeclared (first use in this function)
osx_usb.c: At top level:
osx_usb.c:164: error: parse error before ‘io_iterator_t’
osx_usb.c: In function ‘FindDevice’:
osx_usb.c:165: error: ‘kern_return_t’ undeclared (first use in this function)
osx_usb.c:165: error: parse error before ‘kr’
osx_usb.c:166: error: ‘io_service_t’ undeclared (first use in this function)
osx_usb.c:167: error: ‘IOCFPlugInInterface’ undeclared (first use in this function)
osx_usb.c:167: error: ‘plugInInterface’ undeclared (first use in this function)
osx_usb.c:168: error: ‘HRESULT’ undeclared (first use in this function)
osx_usb.c:168: error: parse error before ‘result’
osx_usb.c:169: error: ‘SInt32’ undeclared (first use in this function)
osx_usb.c:170: error: ‘UInt16’ undeclared (first use in this function)
osx_usb.c:178: error: ‘usbDevice’ undeclared (first use in this function)
osx_usb.c:178: error: ‘iterator’ undeclared (first use in this function)
osx_usb.c:183: error: ‘kr’ undeclared (first use in this function)
osx_usb.c:184: error: ‘kIOUSBDeviceUserClientTypeID’ undeclared (first use in this function)
osx_usb.c:185: error: ‘kIOCFPlugInInterfaceID’ undeclared (first use in this function)
osx_usb.c:186: error: ‘score’ undeclared (first use in this function)
osx_usb.c:188: error: ‘kIOReturnSuccess’ undeclared (first use in this function)
osx_usb.c:189: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:193: error: ‘result’ undeclared (first use in this function)
osx_usb.c:194: error: ‘kIOUSBDeviceInterfaceID’ undeclared (first use in this function)
osx_usb.c:195: error: ‘LPVOID’ undeclared (first use in this function)
osx_usb.c:200: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:206: error: request for member ‘GetDeviceVendor’ in something not a structure or union
osx_usb.c:206: error: ‘vendor’ undeclared (first use in this function)
osx_usb.c:207: error: request for member ‘GetDeviceProduct’ in something not a structure or union
osx_usb.c:207: error: ‘product’ undeclared (first use in this function)
osx_usb.c:208: error: request for member ‘GetDeviceReleaseNumber’ in something not a structure or union
osx_usb.c:208: error: ‘release’ undeclared (first use in this function)
osx_usb.c:211: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:212: error: ‘kUSBVendorID’ undeclared (first use in this function)
osx_usb.c:213: error: request for member ‘Release’ in something not a structure or union
osx_usb.c:218: error: request for member ‘USBDeviceOpen’ in something not a structure or union
osx_usb.c:222: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:223: error: request for member ‘Release’ in something not a structure or union
osx_usb.c:229: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:230: error: request for member ‘USBDeviceClose’ in something not a structure or union
osx_usb.c:231: error: request for member ‘Release’ in something not a structure or union
osx_usb.c: At top level:
osx_usb.c:240: error: parse error before ‘*’ token
osx_usb.c: In function ‘osx_usb_rcx_init’:
osx_usb.c:242: error: ‘CFMutableDictionaryRef’ undeclared (first use in this function)
osx_usb.c:242: error: parse error before ‘matchingDict’
osx_usb.c:243: error: ‘kern_return_t’ undeclared (first use in this function)
osx_usb.c:244: error: ‘IOUSBInterfaceInterface’ undeclared (first use in this function)
osx_usb.c:244: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:248: error: ‘result’ undeclared (first use in this function)
osx_usb.c:248: error: ‘MACH_PORT_NULL’ undeclared (first use in this function)
osx_usb.c:250: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:258: error: ‘matchingDict’ undeclared (first use in this function)
osx_usb.c:258: error: ‘kIOUSBDeviceClassName’ undeclared (first use in this function)
osx_usb.c:260: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:264: error: ‘kUSBVendorID’ undeclared (first use in this function)
osx_usb.c:265: error: ‘kCFAllocatorDefault’ undeclared (first use in this function)
osx_usb.c:265: error: ‘kCFNumberShortType’ undeclared (first use in this function)
osx_usb.c:266: error: ‘kUSBProductID’ undeclared (first use in this function)
osx_usb.c:276: error: ‘kIOReturnSuccess’ undeclared (first use in this function)
osx_usb.c:277: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:278: error: request for member ‘USBDeviceClose’ in something not a structure or union
osx_usb.c:279: error: request for member ‘Release’ in something not a structure or union
osx_usb.c:284: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:286: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c: At top level:
osx_usb.c:291: error: parse error before ‘*’ token
osx_usb.c: In function ‘osx_usb_rcx_close’:
osx_usb.c:293: error: ‘kern_return_t’ undeclared (first use in this function)
osx_usb.c:293: error: parse error before ‘kr’
osx_usb.c:295: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:298: error: ‘kr’ undeclared (first use in this function)
osx_usb.c:298: error: request for member ‘USBDeviceClose’ in something not a structure or union
osx_usb.c:299: error: request for member ‘Release’ in something not a structure or union
osx_usb.c: In function ‘osx_usb_consumeInBuffer’:
osx_usb.c:310: error: ‘true’ undeclared (first use in this function)
osx_usb.c: At top level:
osx_usb.c:313: error: parse error before ‘*’ token
osx_usb.c: In function ‘osx_usb_startRead’:
osx_usb.c:314: error: ‘IOReturn’ undeclared (first use in this function)
osx_usb.c:314: error: parse error before ‘res’
osx_usb.c:319: error: ‘res’ undeclared (first use in this function)
osx_usb.c:319: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:320: error: ‘kIOReturnSuccess’ undeclared (first use in this function)
osx_usb.c:321: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:322: error: ‘true’ undeclared (first use in this function)
osx_usb.c: At top level:
osx_usb.c:327: error: parse error before ‘IOReturn’
osx_usb.c: In function ‘osx_usb_readComplete’:
osx_usb.c:328: error: ‘IOUSBInterfaceInterface’ undeclared (first use in this function)
osx_usb.c:328: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:328: error: parse error before ‘)’ token
osx_usb.c:329: error: ‘UInt32’ undeclared (first use in this function)
osx_usb.c:331: error: ‘result’ undeclared (first use in this function)
osx_usb.c:331: error: ‘kIOReturnAborted’ undeclared (first use in this function)
osx_usb.c:333: error: ‘kIOReturnSuccess’ undeclared (first use in this function)
osx_usb.c:335: error: ‘TRUE’ undeclared (first use in this function)
osx_usb.c:336: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:344: error: ‘read’ undeclared (first use in this function)
osx_usb.c: At top level:
osx_usb.c:356: error: parse error before ‘*’ token
osx_usb.c: In function ‘osx_usb_nbread’:
osx_usb.c:359: error: ‘SInt32’ undeclared (first use in this function)
osx_usb.c:359: error: parse error before ‘reason’
osx_usb.c:361: error: ‘buf’ undeclared (first use in this function)
osx_usb.c:362: error: ‘FALSE’ undeclared (first use in this function)
osx_usb.c:363: error: ‘maxlen’ undeclared (first use in this function)
osx_usb.c:368: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:371: error: ‘reason’ undeclared (first use in this function)
osx_usb.c:371: error: ‘kCFRunLoopDefaultMode’ undeclared (first use in this function)
osx_usb.c:371: error: ‘timeout’ undeclared (first use in this function)
osx_usb.c:371: error: ‘true’ undeclared (first use in this function)
osx_usb.c:372: error: ‘kCFRunLoopRunTimedOut’ undeclared (first use in this function)
osx_usb.c:378: error: ‘TRUE’ undeclared (first use in this function)
osx_usb.c:385: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c: At top level:
osx_usb.c:392: error: parse error before ‘*’ token
osx_usb.c: In function ‘osx_usb_rcx_recv’:
osx_usb.c:393: error: ‘buf’ undeclared (first use in this function)
osx_usb.c:406: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:406: error: ‘timeout’ undeclared (first use in this function)
osx_usb.c:409: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:420: error: ‘use_comp’ undeclared (first use in this function)
osx_usb.c:438: error: ‘maxlen’ undeclared (first use in this function)
osx_usb.c: At top level:
osx_usb.c:502: error: parse error before ‘*’ token
osx_usb.c: In function ‘osx_usb_rcx_send’:
osx_usb.c:504: error: ‘buf’ undeclared (first use in this function)
osx_usb.c:505: error: ‘len’ undeclared (first use in this function)
osx_usb.c:509: error: ‘IOReturn’ undeclared (first use in this function)
osx_usb.c:509: error: parse error before ‘kr’
osx_usb.c:513: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:521: error: ‘use_comp’ undeclared (first use in this function)
osx_usb.c:544: error: ‘kr’ undeclared (first use in this function)
osx_usb.c:545: error: ‘kIOReturnSuccess’ undeclared (first use in this function)
osx_usb.c:547: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c: At top level:
osx_usb.c:558: error: parse error before ‘*’ token
osx_usb.c: In function ‘osx_usb_rcx_sendrecv’:
osx_usb.c:565: error: ‘retries’ undeclared (first use in this function)
osx_usb.c:566: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:566: error: ‘send’ undeclared (first use in this function)
osx_usb.c:566: error: ‘slen’ undeclared (first use in this function)
osx_usb.c:566: error: ‘use_comp’ undeclared (first use in this function)
osx_usb.c:568: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c:572: error: ‘recv’ undeclared (first use in this function)
osx_usb.c:572: error: ‘rlen’ undeclared (first use in this function)
osx_usb.c:572: error: ‘timeout’ undeclared (first use in this function)
osx_usb.c:574: warning: incompatible implicit declaration of built-in function ‘printf’
osx_usb.c: At top level:
osx_usb.c:583: error: parse error before ‘*’ token
osx_usb.c: In function ‘osx_usb_rcx_is_alive’:
osx_usb.c:588: error: ‘intf’ undeclared (first use in this function)
osx_usb.c:588: error: ‘use_comp’ undeclared (first use in this function)
gnumake[2]: *** [osx_usb] Error 1
gnumake[1]: *** [firmdl] Error 2
gnumake: *** [all_ctools] Error 2
riley-woods-macbook:lejos_2_1_0 rileywood$
daw3rd
New User
 
Posts: 1
Joined: Sat Jan 19, 2008 5:25 pm

Return to RCX Software

Who is online

Users browsing this forum: No registered users and 2 guests

more stuff