Compiling on FreeBSD

General help: new users, installing the Ecere SDK, using the IDE to compile and run applications.
jfbilodeau
Posts: 19
Joined: Wed Feb 09, 2011 11:47 am

Compiling on FreeBSD

Post by jfbilodeau »

Greetings,

I'm trying to compile EC on FreeBSD 9.

I've made a couple of changes to the Makefiles and I'm able to bootstrap the compiler, and get to the 2nd stage. Unfortunately, I'm stuck with an error during the execution of ecs.

Here's the compile output with .SILENT disabled:

Code: Select all

freebsd-jf# gmake
cd compiler && gmake bootstrap
gmake[1]: Entering directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/compiler'
Bootstrapping eC compiling tools...
gmake[2]: Entering directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/compiler/bootstrap'
Building ecere...
Building ec...
Building ecp...
Building ecc...
Building ecs...
All done!
gmake[2]: Leaving directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/compiler/bootstrap'
gmake[1]: Leaving directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/compiler'
Building dependencies...
cd deps && gmake
gmake[1]: Entering directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/deps'
Building libungif...
gmake[1]: Leaving directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/deps'
Building 2nd stage ecere...
cd ecere && gmake nores
gmake[1]: Entering directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ecere'
../compiler/bootstrap/obj/bin.bsd/ecs -dynamiclib obj/release.bsd/Archive.sym obj/release.bsd/BufferedFile.sym obj/release.bsd/Date.sym obj/release.bsd/DualPipe.sym obj/release.bsd/EARArchive.sym obj/release.bsd/File.sym obj/release.bsd/FileMonitor.sym obj/release.bsd/GlobalAppSettings.sym obj/release.bsd/JSON.sym obj/release.bsd/JSONGlobalSettings.sym obj/release.bsd/memory.sym obj/release.bsd/Mutex.sym obj/release.bsd/Semaphore.sym obj/release.bsd/System.sym obj/release.bsd/TempFile.sym obj/release.bsd/Thread.sym obj/release.bsd/Time.sym obj/release.bsd/unicode.sym obj/release.bsd/units.sym obj/release.bsd/i18n.sym obj/release.bsd/Cube.sym obj/release.bsd/SkyBox.sym obj/release.bsd/Sphere.sym obj/release.bsd/Object3DSFormat.sym obj/release.bsd/Camera.sym obj/release.bsd/Matrix.sym obj/release.bsd/Mesh.sym obj/release.bsd/Object.sym obj/release.bsd/Plane.sym obj/release.bsd/Quaternion.sym obj/release.bsd/Vector3D.sym obj/release.bsd/BMPFormat.sym obj/release.bsd/GIFFormat.sym obj/release.bsd/JPEGFormat.sym obj/release.bsd/PCXFormat.sym obj/release.bsd/PNGFormat.sym obj/release.bsd/RGBFormat.sym     obj/release.bsd/lfbBlit.sym obj/release.bsd/lfbConvert.sym obj/release.bsd/LFBDisplayDriver.sym obj/release.bsd/NCursesDisplayDriver.sym obj/release.bsd/OpenGLDisplayDriver.sym     obj/release.bsd/XDisplayDriver.sym obj/release.bsd/Bitmap.sym obj/release.bsd/BitmapResource.sym obj/release.bsd/Color.sym obj/release.bsd/Display.sym obj/release.bsd/DisplaySystem.sym obj/release.bsd/FontResource.sym obj/release.bsd/Resource.sym obj/release.bsd/Surface.sym obj/release.bsd/Button.sym obj/release.bsd/CalendarControl.sym obj/release.bsd/DataBox.sym obj/release.bsd/DropBox.sym obj/release.bsd/EditBox.sym obj/release.bsd/Label.sym obj/release.bsd/ListBox.sym obj/release.bsd/Menu.sym obj/release.bsd/Picture.sym obj/release.bsd/ProgressBar.sym obj/release.bsd/ScrollBar.sym obj/release.bsd/StatusBar.sym obj/release.bsd/TabControl.sym obj/release.bsd/PaneSplitter.sym obj/release.bsd/Stacker.sym obj/release.bsd/PathBox.sym obj/release.bsd/ToolTip.sym obj/release.bsd/SelectorBar.sym obj/release.bsd/ColorPicker.sym obj/release.bsd/FileDialog.sym obj/release.bsd/FindDialog.sym obj/release.bsd/GoToDialog.sym obj/release.bsd/MessageBox.sym obj/release.bsd/ReplaceDialog.sym obj/release.bsd/WindowList.sym   obj/release.bsd/NCursesInterface.sym   obj/release.bsd/XInterface.sym obj/release.bsd/TVisionSkin.sym obj/release.bsd/WindowsSkin.sym obj/release.bsd/Anchor.sym obj/release.bsd/ClipBoard.sym obj/release.bsd/Cursor.sym obj/release.bsd/Desktop3D.sym obj/release.bsd/FormDesigner.sym obj/release.bsd/GuiApplication.sym obj/release.bsd/Interface.sym obj/release.bsd/Key.sym obj/release.bsd/Skin.sym obj/release.bsd/Timer.sym obj/release.bsd/typeEdit.sym obj/release.bsd/Window.sym obj/release.bsd/dcom.sym obj/release.bsd/HTTPFile.sym obj/release.bsd/network.sym obj/release.bsd/NetworkClientFile.sym obj/release.bsd/Service.sym obj/release.bsd/Socket.sym obj/release.bsd/Array.sym obj/release.bsd/AVLTree.sym obj/release.bsd/BuiltInContainer.sym obj/release.bsd/Container.sym obj/release.bsd/CustomAVLTree.sym obj/release.bsd/LinkList.sym obj/release.bsd/List.sym obj/release.bsd/Map.sym obj/release.bsd/BinaryTree.sym obj/release.bsd/BTNode.sym obj/release.bsd/dataTypes.sym obj/release.bsd/instance.sym obj/release.bsd/String.sym obj/release.bsd/OldList.sym obj/release.bsd/Archive.imp obj/release.bsd/BufferedFile.imp obj/release.bsd/Date.imp obj/release.bsd/DualPipe.imp obj/release.bsd/EARArchive.imp obj/release.bsd/File.imp obj/release.bsd/FileMonitor.imp obj/release.bsd/GlobalAppSettings.imp obj/release.bsd/JSON.imp obj/release.bsd/JSONGlobalSettings.imp obj/release.bsd/memory.imp obj/release.bsd/Mutex.imp obj/release.bsd/Semaphore.imp obj/release.bsd/System.imp obj/release.bsd/TempFile.imp obj/release.bsd/Thread.imp obj/release.bsd/Time.imp obj/release.bsd/unicode.imp obj/release.bsd/units.imp obj/release.bsd/i18n.imp obj/release.bsd/Cube.imp obj/release.bsd/SkyBox.imp obj/release.bsd/Sphere.imp obj/release.bsd/Object3DSFormat.imp obj/release.bsd/Camera.imp obj/release.bsd/Matrix.imp obj/release.bsd/Mesh.imp obj/release.bsd/Object.imp obj/release.bsd/Plane.imp obj/release.bsd/Quaternion.imp obj/release.bsd/Vector3D.imp obj/release.bsd/BMPFormat.imp obj/release.bsd/GIFFormat.imp obj/release.bsd/JPEGFormat.imp obj/release.bsd/PCXFormat.imp obj/release.bsd/PNGFormat.imp obj/release.bsd/RGBFormat.imp     obj/release.bsd/lfbBlit.imp obj/release.bsd/lfbConvert.imp obj/release.bsd/LFBDisplayDriver.imp obj/release.bsd/NCursesDisplayDriver.imp obj/release.bsd/OpenGLDisplayDriver.imp     obj/release.bsd/XDisplayDriver.imp,) obj/release.bsd/Bitmap.imp obj/release.bsd/BitmapResource.imp obj/release.bsd/Color.imp obj/release.bsd/Display.imp obj/release.bsd/DisplaySystem.imp obj/release.bsd/FontResource.imp obj/release.bsd/Resource.imp obj/release.bsd/Surface.imp obj/release.bsd/Button.imp obj/release.bsd/CalendarControl.imp obj/release.bsd/DataBox.imp obj/release.bsd/DropBox.imp obj/release.bsd/EditBox.imp obj/release.bsd/Label.imp obj/release.bsd/ListBox.imp obj/release.bsd/Menu.imp obj/release.bsd/Picture.imp obj/release.bsd/ProgressBar.imp obj/release.bsd/ScrollBar.imp obj/release.bsd/StatusBar.imp obj/release.bsd/TabControl.imp obj/release.bsd/PaneSplitter.imp obj/release.bsd/Stacker.imp obj/release.bsd/PathBox.imp obj/release.bsd/ToolTip.imp obj/release.bsd/SelectorBar.imp obj/release.bsd/ColorPicker.imp obj/release.bsd/FileDialog.imp obj/release.bsd/FindDialog.imp obj/release.bsd/GoToDialog.imp obj/release.bsd/MessageBox.imp obj/release.bsd/ReplaceDialog.imp obj/release.bsd/WindowList.imp   obj/release.bsd/NCursesInterface.imp   obj/release.bsd/XInterface.imp obj/release.bsd/TVisionSkin.imp obj/release.bsd/WindowsSkin.imp obj/release.bsd/Anchor.imp obj/release.bsd/ClipBoard.imp obj/release.bsd/Cursor.imp obj/release.bsd/Desktop3D.imp obj/release.bsd/FormDesigner.imp obj/release.bsd/GuiApplication.imp obj/release.bsd/Interface.imp obj/release.bsd/Key.imp obj/release.bsd/Skin.imp obj/release.bsd/Timer.imp obj/release.bsd/typeEdit.imp obj/release.bsd/Window.imp obj/release.bsd/dcom.imp obj/release.bsd/HTTPFile.imp obj/release.bsd/network.imp obj/release.bsd/NetworkClientFile.imp obj/release.bsd/Service.imp obj/release.bsd/Socket.imp obj/release.bsd/Array.imp obj/release.bsd/AVLTree.imp obj/release.bsd/BuiltInContainer.imp obj/release.bsd/Container.imp obj/release.bsd/CustomAVLTree.imp obj/release.bsd/LinkList.imp obj/release.bsd/List.imp obj/release.bsd/Map.imp obj/release.bsd/BinaryTree.imp obj/release.bsd/BTNode.imp obj/release.bsd/dataTypes.imp obj/release.bsd/instance.imp obj/release.bsd/String.imp obj/release.bsd/OldList.imp -symbols obj/release.bsd -o obj/release.bsd/ecere.main.ec
Syntax error: ")" unexpected
gmake[1]: *** [obj/release.bsd/ecere.main.ec] Error 2
gmake[1]: Leaving directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ecere'
gmake: *** [ecere] Error 2
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Compiling on FreeBSD

Post by jerome »

Hi JF,

I had the IDE running in FreeBSD. Unfortunately, I haven't integrated these tweaks into any git branch yet :(

In a few hours tonight I'll dig that up and send it to you. The issues where I was at was that the FreeBSD kernel by default only allocates a ridiculously low number of semaphore objects, and Ecere automatically allocates a few. So if you had the IDE + an application running that would already be too much and cause problems. I was going to recompile my kernel with more semaphores.

The particular issue you're at looks like an ecs problem, not being aware of FreeBSD as a platform.
That is probably something I have fixed, so hold off just a bit hehe (Maybe you can recompile your kernel with more semaphores in the meantime :P)

Also, this weekend I will bring my mac mini upstairs and try to compile and run it with the new code :) Good to see you're back around!!!

Cheers,

Jerome
jfbilodeau
Posts: 19
Joined: Wed Feb 09, 2011 11:47 am

Re: Compiling on FreeBSD

Post by jfbilodeau »

Sorry for the trouble. The problem was with the Makefile and not with ecs. My brackets were not properly balanced :P.

However, I'm getting another problem compiling ear. This one may be EC related. Any idea what could be could be?

Here's the (partially truncated) output:

Code: Select all

Building eAR command line tool...
gmake[2]: Entering directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd'
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:13:1: error: Couldn't open obj/release.bsd/ecere.sym
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:13:1: error: Couldn't open obj/release.bsd/ecere.sym
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:52:32: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:53:42: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:98:41: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:99:24: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:100:19: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:104:35: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:150:40: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:153:51: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:156:33: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:157:40: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:181:41: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:187:25: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:198:38: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:242:47: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:249:31: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:250:26: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:302:53: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:526:26: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:570:40: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:659:65: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:664:43: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:708:40: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:757:37: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:777:52: error: syntax error
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:789:50: error: syntax error
/usr/include/sys/time.h:131:16: warning: incompatible expression ((uint64_t)1000000000 * (uint32_t)((*bt).frac >> 32)) >> 32 (uint64); expected int
/usr/include/sys/time.h:148:16: warning: incompatible expression ((uint64_t)1000000 * (uint32_t)((*bt).frac >> 32)) >> 32 (uint64); expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:15:4: warning: Log undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: warning: GetTranslatedString undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:52:4: error: unresolved identifier FileListing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:53:16: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:55:4: warning: SplitArchivePath undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:61:25: error: unresolved identifier DIR_SEPS; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:63:25: error: unresolved identifier DIR_SEPS; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:68:10: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:68:10: error: member operator on non-structure type expression listing.Find
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:75:28: error: unresolved identifier DIR_SEPS; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:77:28: error: unresolved identifier DIR_SEPS; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:79:7: warning: PathCat undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:79:23: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:79:23: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:79:23: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:81:9: error: unresolved identifier DateTime
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:81:8: error: couldn't determine type of (DateTime)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:81:7: error: couldn't determine type of ((DateTime))
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:81:7: error: member operator on non-structure type expression ((DateTime)).local
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:81:7: error: couldn't determine type of ((DateTime)).local
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:81:7: error: member operator on non-structure type expression ((DateTime)).local.OnGetString
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:81:72: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:81:78: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:83:22: warning: incompatible expression GetTranslatedString(__thisModule, "\n   Modified: ", null) (int); expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:87:10: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:87:10: error: member operator on non-structure type expression listing.stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:87:10: error: couldn't determine type of listing.stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:87:10: error: member operator on non-structure type expression listing.stats.attribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:87:10: error: couldn't determine type of listing.stats.attribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:87:10: error: member operator on non-structure type expression listing.stats.attribs.isDirectory
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:87:10: error: couldn't determine type of listing.stats.attribs.isDirectory; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:88:22: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:88:22: error: member operator on non-structure type expression listing.path
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:88:22: error: couldn't determine type of listing.path; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:97:18: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:98:4: error: unresolved identifier FileAttribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:100:4: error: unresolved identifier FileStats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:102:7: error: unresolved identifier exists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:102:7: error: member operator on non-structure type expression exists.isDirectory
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:102:7: error: couldn't determine type of exists.isDirectory; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:104:7: error: unresolved identifier FileListing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:108:13: warning: MakeDir undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:111:13: warning: FileGetStats undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:111:32: error: couldn't determine type of stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:111:32: error: couldn't determine type of &stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:115:13: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:115:13: error: member operator on non-structure type expression listing.Find
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:123:16: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:123:16: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:123:16: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:123:16: error: couldn't determine type of listing.name[0]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:123:42: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:123:42: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:123:42: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:123:42: error: couldn't determine type of listing.name[0]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:125:40: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:131:21: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:131:21: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:131:21: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:131:21: error: couldn't determine type of listing.name[1]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:134:52: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:134:52: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:134:52: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:134:52: error: couldn't determine type of listing.name[0]; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:34: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:34: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:34: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:34: error: couldn't determine type of listing.name[2]; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:53: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:53: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:53: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:53: error: couldn't determine type of listing.name + 3
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:52: error: couldn't determine type of (listing.name + 3)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:74: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:74: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:74: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:74: error: couldn't determine type of listing.name + 2
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:73: error: couldn't determine type of (listing.name + 2)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:136:34: error: couldn't determine type of listing.name[2] ? (listing.name + 3) : (listing.name + 2)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:139:34: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:139:34: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:139:34: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:142:31: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:142:31: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:142:31: error: couldn't determine type of listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:144:30: error: unresolved identifier DIR_SEPS; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:145:33: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:145:33: error: member operator on non-structure type expression listing.path
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:145:33: error: couldn't determine type of listing.path; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:148:12: error: unresolved identifier exists; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:150:7: error: unresolved identifier File
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:151:10: error: unresolved identifier input; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:153:10: error: unresolved identifier File
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:154:13: error: unresolved identifier output; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:156:13: error: unresolved identifier FileSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:158:13: warning: FileGetSize undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:158:31: error: couldn't determine type of dataSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:158:31: error: couldn't determine type of &dataSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:160:16: warning: Logf undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:161:17: error: unresolved identifier c
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:161:17: error: couldn't determine type of c
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:161:17: error: couldn't determine type of c = 0
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:161:24: error: couldn't determine type of c
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:161:24: error: couldn't determine type of dataSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:161:36: error: unresolved identifier c
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:161:36: error: couldn't determine type of c
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:161:36: error: couldn't determine type of c += 0x10000
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:163:40: error: couldn't determine type of c
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:163:29: error: couldn't determine type of dataSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:163:29: error: couldn't determine type of c + 0x10000
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:163:66: error: couldn't determine type of dataSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:163:66: error: couldn't determine type of c
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:163:65: error: couldn't determine type of (dataSize - c); expected uint
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:164:16: error: unresolved identifier input
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:164:16: error: member operator on non-structure type expression input.Read
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:165:16: error: unresolved identifier output
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:165:16: error: member operator on non-structure type expression output.Write
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:167:13: error: couldn't determine type of output
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:167:13: error: couldn't determine type of delete output
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:169:32: error: couldn't determine type of stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:169:32: error: couldn't determine type of &stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:171:10: error: couldn't determine type of input
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:171:10: error: couldn't determine type of delete input
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:175:7: warning: FileSetTime undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:175:31: error: unresolved identifier stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:175:31: error: member operator on non-structure type expression stats.created
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:175:31: error: couldn't determine type of stats.created
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:175:49: error: unresolved identifier stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:175:49: error: member operator on non-structure type expression stats.modified
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:175:49: error: couldn't determine type of stats.modified
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:181:4: error: unresolved identifier FileAttribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:182:7: error: unresolved identifier exists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:182:7: error: member operator on non-structure type expression exists.isDirectory
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:182:7: error: couldn't determine type of exists.isDirectory; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:187:10: error: unresolved identifier FileStats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:188:29: error: couldn't determine type of stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:188:29: error: couldn't determine type of &stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:189:13: warning: incompatible expression parentDir (ArchiveDir); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:190:25: error: undefined class ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:190:55: error: couldn't determine type of stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:190:55: error: couldn't determine type of &stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:190:25: warning: incompatible expression parentDir.OpenDirectory(name, &stats, addMode) (uint); expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:192:25: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:192:53: error: couldn't determine type of stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:192:53: error: couldn't determine type of &stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:192:25: warning: incompatible expression archive.OpenDirectory(name, &stats, addMode) (uint); expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:196:10: warning: incompatible expression directory (ArchiveDir); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:198:10: error: unresolved identifier FileListing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:199:16: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:199:16: error: member operator on non-structure type expression listing.Find
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:201:50: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:201:50: error: member operator on non-structure type expression listing.name
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:201:50: error: couldn't determine type of listing.name; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:201:64: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:201:64: error: member operator on non-structure type expression listing.path
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:201:64: error: couldn't determine type of listing.path; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:211:12: error: unresolved identifier exists; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:217:10: error: undefined class ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:232:12: error: unresolved identifier GuiApplication
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:232:11: error: couldn't determine type of (GuiApplication)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:232:10: error: couldn't determine type of ((GuiApplication))
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:232:10: error: member operator on non-structure type expression ((GuiApplication)).exitCode
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:232:10: error: couldn't determine type of ((GuiApplication)).exitCode
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:232:10: error: couldn't determine type of ((GuiApplication)).exitCode
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:232:10: error: couldn't determine type of ((GuiApplication)).exitCode = 1
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:242:4: error: unresolved identifier FileAttribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:243:7: error: unresolved identifier exists; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:245:27: error: unresolved identifier MAX_FILENAME
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:245:58: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:246:24: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:247:29: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:249:7: error: unresolved identifier FileAttribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:254:7: warning: GetLastDirectory undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:255:7: warning: StripLastDirectory undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:1:2: warning: GetRuntimePlatform undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:1:2: error: couldn't determine type of win32
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:271:10: error: unresolved identifier outputExists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:271:25: warning: FileExists undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:271:10: error: couldn't determine type of outputExists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:271:10: error: couldn't determine type of outputExists = FileExists(existingFilePath)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:274:13: error: unresolved identifier exists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:274:13: error: member operator on non-structure type expression exists.isDirectory
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:274:13: error: couldn't determine type of exists.isDirectory; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:278:29: error: unresolved identifier MAX_FILENAME
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:278:55: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:279:29: error: unresolved identifier MAX_FILENAME
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:279:55: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:286:16: warning: SplitDirectory undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:1:2: error: couldn't determine type of win32
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:299:19: error: unresolved identifier outputExists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:299:19: error: member operator on non-structure type expression outputExists.isDirectory
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:299:19: error: unresolved identifier outputExists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:299:19: error: member operator on non-structure type expression outputExists.isDirectory
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:299:19: error: couldn't determine type of outputExists.isDirectory; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:302:19: error: unresolved identifier FileListing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:308:28: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:308:68: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:308:28: warning: incompatible expression (*archive).OpenDirectory(outputDirectory, null, 0) (uint); expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:309:25: warning: incompatible expression dir (ArchiveDir); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:311:42: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:315:36: warning: ArchiveOpen undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:315:61: error: couldn't determine type of  { true }
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:315:36: warning: incompatible expression ArchiveOpen(archiveName,  { true }) (uint); expected Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:325:25: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:325:25: error: member operator on non-structure type expression listing.Find
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:327:32: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:327:32: error: member operator on non-structure type expression listing.path
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:327:32: error: couldn't determine type of listing.path; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:328:52: error: unresolved identifier listing
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:328:52: error: member operator on non-structure type expression listing.path
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:328:52: error: couldn't determine type of listing.path; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:333:30: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:333:70: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:333:30: warning: incompatible expression (*archive).OpenDirectory(sourceDirectory, null, 0) (uint); expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:334:25: warning: incompatible expression input (ArchiveDir); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:336:25: error: undefined class ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:341:24: error: unresolved identifier outputExists; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:351:18: error: unresolved identifier outputExists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:351:18: error: member operator on non-structure type expression outputExists.isDirectory
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:351:18: error: couldn't determine type of outputExists.isDirectory; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:360:33: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:360:73: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:360:33: warning: incompatible expression (*archive).OpenDirectory(outputDirectory, null, 0) (uint); expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:361:16: warning: incompatible expression output (ArchiveDir); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:363:35: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:363:75: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:363:35: warning: incompatible expression (*archive).OpenDirectory(sourceDirectory, null, 0) (uint); expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:364:19: warning: incompatible expression input (ArchiveDir); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:367:22: error: unresolved identifier outputExists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:367:22: error: member operator on non-structure type expression outputExists.isFile
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:367:22: error: couldn't determine type of outputExists.isFile; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:368:22: error: undefined class ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:375:19: error: undefined class ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:403:32: warning: incompatible expression 0 (int); expected ArchiveAddMode
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:408:7: warning: DumpErrors undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:408:18: error: unresolved identifier false
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:409:7: warning: SetLoggingMode undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:409:22: error: unresolved identifier stdOut
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:409:30: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:411:10: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:417:41: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:417:41: error: couldn't determine type of argv[1]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:417:41: error: couldn't determine type of argv[1][c]; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:425:49: error: unresolved identifier replace; expected ArchiveAddMode
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:425:39: error: couldn't determine type of replace
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:426:49: error: unresolved identifier refresh; expected ArchiveAddMode
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:426:39: error: couldn't determine type of refresh
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:427:49: error: unresolved identifier update; expected ArchiveAddMode
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:427:39: error: couldn't determine type of update
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:433:37: error: couldn't determine type of replace
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:477:30: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:477:30: error: couldn't determine type of argc - 3; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:477:19: error: couldn't determine type of argc - 3
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:483:33: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:483:33: error: couldn't determine type of argc - 4; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:483:22: error: couldn't determine type of argc - 4
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:485:33: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:485:33: error: couldn't determine type of argc - 3; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:485:22: error: couldn't determine type of argc - 3
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:491:33: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:491:33: error: couldn't determine type of argc - 4; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:491:22: error: couldn't determine type of argc - 4
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:493:33: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:493:33: error: couldn't determine type of argc - 3; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:493:22: error: couldn't determine type of argc - 3
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:498:30: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:498:30: error: couldn't determine type of argc - 4; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:498:19: error: couldn't determine type of argc - 4
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:502:27: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:506:30: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:506:30: error: couldn't determine type of argc - 3; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:506:19: error: couldn't determine type of argc - 3
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:510:27: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:518:27: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:521:39: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:521:39: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:526:13: error: unresolved identifier FileSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:527:28: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:527:28: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:529:54: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:529:54: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:532:33: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:532:33: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:532:42: error: couldn't determine type of size
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:532:42: error: couldn't determine type of &size
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:532:52: error: couldn't determine type of size
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:532:52: error: couldn't determine type of size
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:532:52: error: couldn't determine type of !size; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:534:53: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:534:53: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:539:46: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:539:46: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:539:55: error: couldn't determine type of  { false }
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:539:34: warning: incompatible expression ArchiveOpen(argv[2],  { false }) (int); expected Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:540:19: warning: incompatible expression archive (Archive); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:544:68: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:544:68: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:554:48: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:554:48: error: couldn't determine type of argv[2]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:555:19: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:555:19: error: couldn't determine type of argv[2]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:569:42: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:569:66: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:570:22: error: unresolved identifier FileAttribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:573:40: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:573:40: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:574:22: warning: FileFixCase undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:577:26: error: unresolved identifier exists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:577:26: error: couldn't determine type of exists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:577:25: error: couldn't determine type of (exists = FileExists(fileName)); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:579:28: error: unresolved identifier exists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:579:28: error: member operator on non-structure type expression exists.isDirectory
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:579:28: error: couldn't determine type of exists.isDirectory; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:591:53: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:591:65: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:591:65: error: couldn't determine type of argv[3]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:591:52: error: couldn't determine type of (argc > 3) ? argv[3] : ""; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:597:34: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:598:33: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:599:35: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:602:36: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:602:36: error: couldn't determine type of argv[c]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:607:44: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:607:49: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:607:49: error: couldn't determine type of argc - 1
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:607:44: error: couldn't determine type of argv[argc - 1]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:609:28: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:609:28: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:609:28: error: couldn't determine type of argv[c][0]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:609:49: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:609:49: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:609:49: error: couldn't determine type of argv[c][0]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:611:52: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:617:33: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:617:33: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:617:33: error: couldn't determine type of argv[c][1]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:620:64: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:620:64: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:620:64: error: couldn't determine type of argv[c][0]; expected int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:48: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:48: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:48: error: couldn't determine type of argv[c][2]; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:62: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:62: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:62: error: couldn't determine type of argv[c] + 3
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:61: error: couldn't determine type of (argv[c] + 3)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:78: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:78: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:78: error: couldn't determine type of argv[c] + 2
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:77: error: couldn't determine type of (argv[c] + 2)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:622:48: error: couldn't determine type of argv[c][2] ? (argv[c] + 3) : (argv[c] + 2)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:626:45: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:626:45: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:629:44: error: unresolved identifier DIR_SEPS; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:642:46: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:642:46: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:642:55: error: couldn't determine type of  { true }
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:642:34: warning: incompatible expression ArchiveOpen(argv[2],  { true }) (int); expected Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:643:19: warning: incompatible expression archive (Archive); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:646:22: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:646:22: error: couldn't determine type of archive.totalSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:646:22: error: couldn't determine type of archive.totalSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:646:22: error: couldn't determine type of archive.totalSize = 0
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:651:51: error: unresolved identifier null; expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:651:72: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:651:77: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:651:77: error: couldn't determine type of argc - 1
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:651:72: error: couldn't determine type of argv[argc - 1]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:651:57: error: couldn't determine type of extractWhere ? argv[argc - 1] : ""; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:651:91: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:651:91: error: couldn't determine type of argv[c]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:659:25: error: unresolved identifier FileAttribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:660:28: error: unresolved identifier exists; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:662:45: error: unresolved identifier null; expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:663:38: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:663:63: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:664:28: error: unresolved identifier FileStats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:665:45: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:665:45: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:668:49: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:668:54: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:668:54: error: couldn't determine type of argc - 1
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:668:49: error: couldn't determine type of argv[argc - 1]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:669:55: error: couldn't determine type of stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:669:55: error: couldn't determine type of &stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:672:50: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:672:50: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:674:34: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:674:82: error: couldn't determine type of stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:674:82: error: couldn't determine type of &stats
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:674:91: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:674:67: error: couldn't determine type of extractWhere ? &stats : null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:674:34: warning: incompatible expression archive.OpenDirectory(directory, extractWhere ? &stats : null, addMode) (uint); expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:675:31: warning: incompatible expression dir (ArchiveDir); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:677:68: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:677:68: error: couldn't determine type of argv[c]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:691:46: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:691:46: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:691:55: error: couldn't determine type of  { true }
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:691:34: warning: incompatible expression ArchiveOpen(argv[2],  { true }) (int); expected Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:692:19: warning: incompatible expression archive (Archive); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:694:19: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:696:51: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:696:51: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:702:46: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:702:46: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:702:55: error: couldn't determine type of  { true }
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:702:34: warning: incompatible expression ArchiveOpen(argv[2],  { true }) (int); expected Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:703:19: warning: incompatible expression archive (Archive); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:707:36: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:708:22: error: unresolved identifier FileAttribs
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:711:40: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:711:40: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:713:22: error: unresolved identifier exists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:713:22: error: couldn't determine type of exists
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:713:22: error: couldn't determine type of exists = FileExists(fileName)
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:714:25: error: unresolved identifier exists; expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:717:35: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:717:60: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:718:42: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:718:42: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:719:44: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:719:44: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:720:31: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:720:64: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:720:31: warning: incompatible expression archive.OpenDirectory(directory, null, 0) (uint); expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:721:28: warning: incompatible expression dir (ArchiveDir); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier null
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:725:28: error: undefined class ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:736:46: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:736:46: error: couldn't determine type of argv[2]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:736:55: error: couldn't determine type of  { true }
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:736:34: warning: incompatible expression ArchiveOpen(argv[2],  { true }) (int); expected Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:737:19: warning: incompatible expression archive (Archive); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:739:33: error: unresolved identifier MAX_LOCATION
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:744:40: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:744:40: error: couldn't determine type of argv[c]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:745:60: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:745:65: error: couldn't determine type of argc
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:745:65: error: couldn't determine type of argc - 1
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:745:60: error: couldn't determine type of argv[argc - 1]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:753:46: error: unresolved identifier argv
[SNIP]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:827:51: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:827:51: error: couldn't determine type of argv[3]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:828:22: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:828:22: error: couldn't determine type of argv[3]; expected char *
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:830:38: error: unresolved identifier argv
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:830:38: error: couldn't determine type of argv[3]
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:830:47: error: couldn't determine type of  { true }
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:830:26: warning: incompatible expression ArchiveOpen(argv[3],  { true }) (int); expected Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:831:19: warning: incompatible expression archive (Archive); expected bool
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:833:19: error: undefined class Archive
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:833:19: error: couldn't determine type of archive.totalSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:833:19: error: couldn't determine type of archive.totalSize
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:833:19: error: couldn't determine type of archive.totalSize = 0
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:834:41: error: unresolved identifier null; expected ArchiveDir
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:834:64: error: unresolved identifier replace; expected ArchiveAddMode
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: warning: eSystem_RegisterClass undefined; assuming extern returning int
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier normalClass
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier privateAccess
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: error: unresolved identifier publicAccess
/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:0:0: warning: incompatible expression class (int); expected ecere::com::Class
gmake[2]: *** [obj/release.bsd/ear.c] Error 1
gmake[2]: Leaving directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd'
gmake[1]: *** [nores] Error 2
gmake[1]: Leaving directory `/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear'
gmake: *** [ecere] Error 2
freebsd-jf# 
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Compiling on FreeBSD

Post by jerome »

It's not finding libecere.so.

There's some special code in the Makefiles that sets LD_LIBRARY_PATH to include sdk/obj/[PLATFORM]/lib/
Is it LD_LIBRARY_PATH on FreeBSD? Maybe just needs to be enabled for FreeBSD platform in the Makefile?

-Jerome
jfbilodeau
Posts: 19
Joined: Wed Feb 09, 2011 11:47 am

Re: Compiling on FreeBSD

Post by jfbilodeau »

I'm not convinced that it's a library issue. The ec compiler is complaining about being unable to open obj/release.bsd/ecere.sym. I can't find this file anywhere. Where is it generated?
redj
Posts: 105
Joined: Sun Jan 17, 2010 10:03 am

Re: Compiling on FreeBSD

Post by redj »

hey JF :D

whenever the compiler can't find a library (i.e.: import "ecere") it will complain about not finding said library name .sym file. in this case ecere.sym

-redj

PS: very cool to have you hack on ecere again :)
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Compiling on FreeBSD

Post by jerome »

There is no such file as ecere.sym. It complains about not finding a "ecere.sym" because it couldn't find the libecere.so.
When you import "bla", a dynamic shared library libbla.so is tried first, then a bla.sym generated for a bla.ec module in the project is attempted next.

The compiler needs to be able to find the 2nd stage libecere library, by adding it to the LD_LIBRARY_PATH, for building the 2nd stage binaries.

-Jerome
jfbilodeau
Posts: 19
Joined: Wed Feb 09, 2011 11:47 am

Re: Compiling on FreeBSD

Post by jfbilodeau »

Thanks for the replies.

I'm still confused by the .sym files. To compile ecere.so, a whole bunch of .sym file were created.

I added the path to ecere.so explicitly in the Makefile as follows: -symbols $(OBJ);../../obj/bsd/lib/

That did not fix it, but in my first attempt, I used a colon instead of a semi-colon, and the build process complained that it could not find ecere.sym AND ear.sym. In the symbols directory, there is indeed a file named ear.sym but not ear.so. This error only occurs when the -symbol arg does not point to the directory containing ear.sym. Thus, it seems that ecc is indeed finding ear.sym correctly, but insists on finding ecere.sym.

Furthermore, I tried creating symlinks to ecere.so in /usr/local/lib and <ecereroot>/ear/cmd/obj/release.bsd/lib to no avail. :(

Please forgive my lack of understanding of the ecere build process, but ecc does not seem to treat .so as .sym files.

Any chance you could take a moment and explain the purpose of the .sym and their relations to .so from the perspective of ecc?

BTW, I did a nm -g on ecere.so, and I do get a list of symbols that look 'correct.'

Thanks,

J-F
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Compiling on FreeBSD

Post by jerome »

Hi JF,

I booted up my FreeBSD VM and here is the source tree I had compiling and running:

ecere-sdk-0.44pre-bsd-2011003.tar.bz2

I think we still had to get resources embedded within the executables working... In Linux, we read files in /proc to find the path to the running executables.

Cheers,

Jerome
jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Compiling on FreeBSD

Post by jerome »

Hi JF...

I'll try to explain the .sym/.so stuff.
When you say 'ecere.so', you mean 'libecere.so', right?

"-symbols $(OBJ);../../obj/bsd/lib/" -- What are you trying to do with this? -symbols is for finding the .sym files only, not the .so. And it only looks in a single directory, it doesn't support : or ;. The .so are found by ld, with LD_LIBRARY_PATH.

It insists on finding libecere.so, not ecere.sym! lol there is no ecere.sym!

This error really should read:

/usr/home/jfbilodeau/ecere-sdk-7eee5b5/ear/cmd/ear.ec:13:1: error: Could not find an ecere.sym under obj/relase.bsd/ (Did you forget to add ecere.ec to your project?), or a libecere.so in LD_LIBRARY_PATH

.so files are not treated as .sym files... But the eC import mechanism works for both importing a single .ec file, and for importing a built dynamic library.
.sym files list all symbols defined for a .ec file in your project, so they can be imported by other file within the project. Built shared libraries dynamically build up their own symbol lookup system, so .sym files are not required for them. You can think of .sym files somewhat as 'automatically built and updated header files', preventing you from having to use header files in eC.

Hope this clarifies things ;) Let me know if you have any more questions!

Cheers,

Jerome
Post Reply