Re: Link error while creating a library

2008-05-29 Thread Dave Lippincott
If you're using Codewarrior, make sure the option 'Target/68K Target/File Name' matches what's entered in 'Linker/PalmRez Post Linker/Mac Resource Files' entry Link Error : __RuntimeModule__: '__Startup__' referenced from '__DummyStartup__' is undefined. Thanks Ralph Krausse -- For

Re: Link Error help needed

2008-05-29 Thread Jim Duffy
extern extern yes yes It works now, thanks a bunch Jim McMicken, Steven [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Make sure that function 'MainFormHandleEvent' is not declared as static. You should also put a function prototype in the header file (MainForm.h) for the module

Re: Link Error : Out of Range

2008-05-28 Thread Dave Lippincott
See if the Knowledge Base can help: http://oasis.palm.com/dev/kb/faq/1418.cfm - Original Message - From: Richard.Johnstone [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Tuesday, November 28, 2000 1:14 PM Subject: Link Error : Out of Range When I

Re: Link Error : Could not open file: C:\palmSDK\SampleCode\HelloWorld\HelloWord\RESOURCE.FRK\Starter.tmp

2008-05-28 Thread Jim Duffy
I could be wrong on this but... I beleive you should use double slashes instead of one so the compiler does not take it as an escape sequence. like #include C:\\PalmSDK\\Sample Code\\Hello World\\Hello World\\RESOURCE.FRK\\Starter.tmp try that. Jim Muthuraj Velayutham [EMAIL PROTECTED] wrote

Re: Link error

2008-05-15 Thread Lincoln Ramsay
On 15/05/2008, at 1:15 PM, Vivian Chen wrote: Would you help me if I have any question in future? I'm on this list so post here and I'll help if I can. -- Link -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

Re: Link error

2008-05-15 Thread heath . schaefer
636.239.7711 x243 **/ Lincoln Ramsay [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/15/2008 08:12 AM Please respond to Palm Developer Forum palm-dev-forum@news.palmos.com To Palm Developer Forum palm-dev-forum@news.palmos.com cc Subject Re: Link error

Re: Link error

2008-05-14 Thread Vivian Chen
library functions. Are they? Does there have any limit? 2008-05-14 Vivian Chen 发件人: Lincoln Ramsay 发送时间: 2008-05-14 17:39:03 收件人: Palm Developer Forum 抄送: 主题: Re: Link error On 14/05/2008, at 11:32 AM, Vivian Chen wrote: Thanks. I really know very little about the cygwin. How

Re: Link error

2008-05-14 Thread Lincoln Ramsay
On 14/05/2008, at 11:32 AM, Vivian Chen wrote: Thanks. I really know very little about the cygwin. How to link project to the cygwin? I think I have. Must I choose - mno-cygwin? If I choose, I get a undefined reference to error. -mno-cygwin means your app will not be linked to Cygwin. You

Re: Link error

2008-05-14 Thread Lincoln Ramsay
On 14/05/2008, at 7:54 PM, Vivian Chen wrote: Because my library has called some standard C library functions in it. And when I debug the project, there's a crash. As I've already said, without the actual error messages you're getting from the computer we can only guess what the problem is.

Re: Link error

2008-05-14 Thread Vivian Chen
have any question in future? 2008-05-15 Vivian Chen 发件人: Lincoln Ramsay 发送时间: 2008-05-14 19:53:42 收件人: Palm Developer Forum 抄送: 主题: Re: Link error On 14/05/2008, at 7:54 PM, Vivian Chen wrote: Because my library has called some standard C library functions in it. And when I debug

Re: Link error

2008-05-13 Thread Lincoln Ramsay
On 13/05/2008, at 1:28 PM, Vivian Chen wrote: I've search from Google that -mno-cygwin mean to use mingw to compile not cygwin. And -nostdlib means not to use standard library. The second one is easily to be understood. But I'm quite confused to the first one. My library is compiled by

Re: Link error

2008-05-13 Thread Vivian Chen
:48:00 收件人: Palm Developer Forum 抄送: 主题: Re: Link error On 13/05/2008, at 1:28 PM, Vivian Chen wrote: I've search from Google that -mno-cygwin mean to use mingw to compile not cygwin. And -nostdlib means not to use standard library. The second one is easily to be understood. But I'm quite

RE: Link Error

2006-09-15 Thread Sheshu Kumar Inguva
Check if you crossed 64k segment limit. If not move files up and down in Link order and recompile. This is for CW. Regards, Sheshu Kumar Inguva -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nitin baranwal Sent: Friday, September 15, 2006 3:40 PM To:

Re: Link error : PalmOS_Startup.c: 'PilotMain' referenced from '__Startup__' is undefined

2006-03-26 Thread Donald C. Kirker
Brian [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm still getting the same error. Any suggestions? I would assume that the answer is yes, but just to make sure; do you have a function named PilotMain (something declared like: UInt32 PilotMain(UInt16 cmd, void *cmdPBP, UInt16

Re: Link Error : PalmRez Error: tbmf 1000 has no bitmaps. Compilation halted

2005-08-29 Thread Omar Espinoza
I have a seemed problem, it is with the size of my resources and with my Ultralite project. How I can know if my CodeWarrior 8 is a DEMO version. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Link error for shared library

2005-03-10 Thread Ben Combee
At 09:30 AM 3/10/2005, you wrote: Hi Everybody, First, I do apologize for bothering again and again with the same issue, but I do not have any other choice left. My application is a multi-segment application. I am trying to integrate a third party TTS engine with it. I have included the header

re: Link Error : PalmRez Error: tbmf 1000 has no bitmaps. Compilation halted

2005-01-12 Thread vidya
I was able to link it after deleting the bitmap and creating newly. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Link Error : PalmRez Error: tbmf 1000 has no bitmaps. Compilation halted

2005-01-12 Thread Ben Combee
At 03:27 AM 1/12/2005, you wrote: I was working on Codewarrior 7.0 and recently tried the demo verion of 8.0 to compile my earlier project which was working fine. However I am not able to progress due to the above mentioned link error. The bitmap which it is referring to is also ok. I found the

Re: Link error

2004-11-18 Thread tut.by
try move your cpp files to another segment (to first for example). this error mean in your project placed overcrowded segment. you can will comment code in different files until your link error is not disappear. if you discover the problematically file then will move him to another segment. MC

Re: Link error

2004-11-18 Thread Mark Chauvin
How can I tell which segment is overcrowded? I was thinking it's probably the first segment, based on the error message, but I've taken all my cpp files out of there reduced the starterapp.cpp file down as much as I can. --- tut.by [EMAIL PROTECTED] wrote: try move your cpp files to another

Re: Link error

2004-11-18 Thread Jan Slodicka
Map file contains complete information. Jan Slodicka - Original Message - From: Mark Chauvin [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, November 18, 2004 3:31 PM Subject: Re: Link error How can I tell which segment is overcrowded? I was thinking

Re: Link error

2004-11-18 Thread Mark Chauvin
Jan, Having never seen a map file before this morning (never needed to look), I'm no expert, but it doesn't seem to show any overcrowded segments, assuming 68K is the limit: Segment 1 47518 bytes Segment 2 19768 bytes Segment 3 16678 bytes Segment 4 10628 bytes Segment 5 16786 bytes Segment 6

Re: Link error

2004-11-18 Thread Robert Moynihan
Mark Chauvin wrote: Jan, Having never seen a map file before this morning (never needed to look), I'm no expert, but it doesn't seem to show any overcrowded segments, assuming 68K is the limit: Segment 1 47518 bytes Segment 2 19768 bytes Segment 3 16678 bytes Segment 4 10628 bytes Segment 5 16786

Re: Link error

2004-11-18 Thread Mark Chauvin
Robert, Can I move any of these files out of segment 1? Palm OS Runtime.mcp PalmOS Runtime_21_A5.lib MSL_C++_PalmOS_2i_DbA4A5.lib POLD1.lib Starter.cpp StarterApp.cpp POL Lib.mcp I thought I read that you have to have some (or all) of these in the first segment or it'll crash your Palm when you

Re: Link error

2004-11-18 Thread Jan Slodicka
to use smart code model (CW terminology) and most of the segments are filled very close to 64K without any problem. Jan Slodicka - Original Message - From: Mark Chauvin [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, November 18, 2004 6:25 PM Subject: Re: Link

Re: Link error

2004-11-18 Thread Ben Combee
At 11:25 AM 11/18/2004, you wrote: Can I move any of these files out of segment 1? I thought I read that you have to have some (or all) of these in the first segment or it'll crash your Palm when you try to install the program. - Palm OS Runtime.mcp - POL Lib.mcp The .mcp files don't contribute

Re: Link error

2004-11-18 Thread Logan Shaw
Robert Moynihan wrote: Mark Chauvin wrote: it doesn't seem to show any overcrowded segments, assuming 68K is the limit: Segment 1 47518 bytes Segment 2 19768 bytes Segment 3 16678 bytes Segment 4 10628 bytes Segment 5 16786 bytes Segment 6 29814 bytes Segment 7 28428 bytes The

Re: Link error - fixed!

2004-11-18 Thread Mark Chauvin
Well, I fixed it. Ben, I was able to move the C++ library to segment 4. I'd already moved all extra code out of the CPalmApp object into a utilities module instead. What made the biggest difference was moving POLD1 to the bottom of segment 1 instead of the top. That apparently made the jumps

Re: Link error

2004-11-18 Thread Ben Combee
At 12:03 PM 11/18/2004, you wrote: I am not sure about the runtime, but POL should be ordinary application code and as such should be movable. Try and see... Nothing worse than a crash can happen. (More severe criteria are applied when the app is e.g. receiving some data - in this case it is

Re: Link error in separate files!!!

2004-08-10 Thread Krzysztof Kowalczyk
On Tue, 10 Aug 2004 09:02:57 -0300, Gláucio Barizon Pançardes [EMAIL PROTECTED] wrote: I am trying to use my separate code in varios archives for one better understanding, but when I bind in codewarrior 8,0 of the following o error: Link Error : Main.c: 'OpenOrCreateDB' referenced from

Re: Link error in separate files!!!

2004-08-10 Thread Gláucio Barizon Pançardes
First, debtor for the attention!!! But my project already has the implementations, for example: ConsultaForm.c already is in my project. and i dont have compile error, only link. When I compel main.c I do not have error, only when F7 squeeze (link) Krzysztof Kowalczyk [EMAIL PROTECTED]

Re: Link error in separate files!!!

2004-08-10 Thread Ray
Is it to do with the functions being declared static so not available to other files? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Link error in separate files!!!

2004-08-10 Thread Gláucio Barizon Pançardes
You are really total certain! Debtor! Is it to do with the functions being declared static so not available to other files? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: Link error in separate files!!!

2004-08-10 Thread Randy Poublon
Try extern void ConsultaTableFormInit(FormType *form); //,UInt16 recordNumber); extern Boolean ConsultaFormHandleEvent(EventType * eventP); --Here -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Link error : 'AppHandleEvent' 16 bit code reference to 'CntPlasmFormHandleEvent' is out of range

2004-05-24 Thread Frédéric Dessallien
Thanks tim, I have succesfully convert the application to multi segment and it's quite easy to do. For those who encounter this problem just create a new target copied from existant and change the PalmOs library to the good one.(see metrowerks or palmos documentation for library). Add a segment

Re: Link error : 'AppHandleEvent' 16 bit code reference to 'CntPlasmFormHandleEvent' is out of range

2004-05-21 Thread Tim Kostka
It sounds like your code is getting too big for one segment. You basically have two options: rewrite your code each time you want to add something, or create a multi-segment application. The latter is actually quite easy and you should be able to find lots of examples should you need them. It

Re: Link Error : __RuntimeModule__: '__Startup__' referenced from '__DummyStartup__' is undefined.

2004-05-14 Thread Ben Combee
At 01:49 AM 5/14/2004, you wrote: I am trying to link a really simple Palm aplication with the demo version of CW 8. I got the error message Link Error : Exception68K.cp: '__rethrow' referenced from '__unexpected' is undefined. After turning off the Use C++ Exceptions checkbox in the C/C++

Re: Link error, object already defined on project make in codewarrior

2004-05-06 Thread Matt Graham
MarkW wrote: This may be a C question rather than a CW problem (I'm kinda new to both), but here goes. I have one header file, MyApp.h, a C source file called MyApp.c, and one called Main.c to handle main form events. I #include the header file in both C files. When I MAKE the project, I get error

Re: Link error trying to use Mathlib

2004-03-07 Thread RVRoadie
I just created a Test app using the CW 9.3 wizard, and included mathlib. Added these two lines: double x, y=2; x = pow(y, 2); Get this error on make: Link Error : Test.cpp: 'pow(double,double)' referenced from 'MainFormInit(FormType*)' is undefined. Project: Test.mcp, Target: Debug If I

Re: Link error trying to use Mathlib

2004-03-07 Thread Ben Combee
At 10:24 AM 3/7/2004, you wrote: I just created a Test app using the CW 9.3 wizard, and included mathlib. Added these two lines: double x, y=2; x = pow(y, 2); Get this error on make: Link Error : Test.cpp: 'pow(double,double)' referenced from 'MainFormInit(FormType*)' is undefined. Project:

Re: Link error trying to use Mathlib

2004-03-07 Thread RVRoadie
Thanks, that solved the link error. When I created my app, I selected the C++ application wizard. Just assumed that was the right selection. I am too new at this to know the difference. Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 10:24 AM 3/7/2004, you wrote: I

RE: Link Error : StartupCode.c: Illegal object data

2004-03-05 Thread Colin MacKenzie
Dave Lippincott wrote: Right now I have CW 8 (with updates), Palm OS SDK 5.x and the latest Satforms. No problems writing or modifying extensions. Matt Graham wrote: That doesn't sound right. I haven't done an SF extension for a year or so, but I never had any problems like that. And I'm

Re: Link error trying to use Mathlib

2004-03-05 Thread RVRoadie
I still don't get it. The following works fine: MathLibPow(MathLibRef, (lon1 - lon2), 2, d1); MathLibPow(MathLibRef, (lat1 - lat2), 2, d2); MathLibSqrt(MathLibRef, (d1 + d2), d3); d = e * d3; This gets the link error: d = e * sqrt(pow(lon1 - lon2, 2) + pow(lat1 - lat2, 2)); If I copy

Re: Link error trying to use Mathlib

2004-03-05 Thread Ben Combee
At 09:53 PM 3/5/2004, you wrote: I still don't get it. The following works fine: MathLibPow(MathLibRef, (lon1 - lon2), 2, d1); MathLibPow(MathLibRef, (lat1 - lat2), 2, d2); MathLibSqrt(MathLibRef, (d1 + d2), d3); d = e * d3; This gets the link error: d = e * sqrt(pow(lon1 - lon2, 2) +

RE: Link Error : StartupCode.c: Illegal object data

2004-03-03 Thread Colin MacKenzie
Ben Combee wrote: Yes, it is a demo restriction. The CW V8 demo can only produce very small PRC files and can only build applications. It also won't link with any runtime libraries other than the one that ships with the demo. If it's only a demo restriction I would buy Codewarrior so that I

Re: Link Error : StartupCode.c: Illegal object data

2004-03-03 Thread Matt Graham
Colin MacKenzie wrote: Ben Combee wrote: Yes, it is a demo restriction. The CW V8 demo can only produce very small PRC files and can only build applications. It also won't link with any runtime libraries other than the one that ships with the demo. If it's only a demo restriction I would

Re: Link Error : StartupCode.c: Illegal object data

2004-03-03 Thread Dave Lippincott
Right now I have CW 8 (with updates), Palm OS SDK 5.x and the latest Satforms. No problems writing or modifying extensions. - Original Message - From: Colin MacKenzie [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 12:52 PM Subject: RE: Link

Re: Link Error : StartupCode.c: Illegal object data

2004-03-02 Thread Ben Combee
At 09:20 AM 3/2/2004, you wrote: I am trying to write an extension for Satellite Forms using the demo version of codewarrior and when I tried to make my project I get the following error: Link Error : StartupCode.c: Illegal object data in 'StartupCode.c'. Link Error : _RuntimeModule_: '_Startup_'

Re: Link Error???

2004-02-06 Thread Alexandre Barreto
I'm including then in both ways usein #include and by adding the files to the project if a mark the option use C++ compiler it compiles as C++ so i thiunk it works on the Lite but i need to use theis classes in the file in #includeing then... thnx Ben Combee wrote: At 06:19 AM 2/5/2004, you

RE: Link Error???

2004-02-05 Thread Alexandre Barreto
hi Ben, I tried to rename the files to .cpp and including then but it is not compiling then using c++ so i get error in the class declaration. any clues? thnx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Link Error???

2004-02-05 Thread Ben Combee
At 06:19 AM 2/5/2004, you wrote: hi Ben, I tried to rename the files to .cpp and including then but it is not compiling then using c++ so i get error in the class declaration. any clues? You're using the Light/Demo version. That might not support C++; I don't remember about the limitations of

RE: Link Error???

2004-02-04 Thread Ben Combee
Don't use activate C++ like that. It really means compile .c files as C++. If your file has a .cpp extension, the compiler will always build it as C++. -Original Message- From: Marcelo Henrique Date: 2/4/04 10:54 am To: Palm Developer Forum Subj: Link Error??? Hello, I have a

Re: Link Error: xxx unreferenced from yyy is undefined

2004-01-24 Thread Virendra
Seems like linker chap is not able to find the compiled code for PINSetInputAreaState() funtion. Most common reason for this is not setting the path. Please set the path for the same and try again. (Dont remember now but guess the path-setting is there in the project settings (in CW) somewhere!)

Re: link error?

2004-01-15 Thread Flex
You've placed too much code in the segment1? What to do: 1. Move some functions to other segment 2. Rearrange functions so that MultiSegOpen is closer to the top 3. Rearrange files in the Segments tab - place the one with this function iside at the top palm os wrote: When I link Debug_Segment1,

RE: Link Error

2004-01-05 Thread Caspar Heiden, vd
Do you have one of the Palm OS Runtime libraries linked with your project? good luck, Caspar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward P. Ross Sent: Monday, January 05, 2004 2:28 AM To: Palm Developer Forum Subject: Link Error On one of my

Re: Link Error

2004-01-05 Thread Ben Combee
At 08:27 PM 1/4/2004, Edward P. Ross wrote: On one of my targets I am getting a link error (see below). I tried clearing out some of the temp folders/data but that did nothing. Any ideas or do I need to delete and re-create it? Link Error : __RuntimeModule__: '__Startup__' referenced from

Re: Link Error: Main.c: 'AppHandleEvent' 16 bit code reference to 'SecondFormHandleEvent' is out of range

2003-11-26 Thread Horst Borscht
Am I approaching a size limit (this 64K limit I hear about, I have only been programming in Codewarrior for the last 2 months), or is it a different problem? Yes, you have to make your project a multi-segment app. Horst -- For information on using the Palm Developer Forums, or to

Re: Link Error: Main.c: 'AppHandleEvent' 16 bit code reference to 'SecondFormHandleEvent' is out of range

2003-11-26 Thread Matthew Henry
Yes, you have to make your project a multi-segment app. And might I suggest you do so by using #pragma segment instead of the segments tab. I finally switched my whole app and all its libraries over to using #pragma segment instead of the segment tag, and my life sucks less (much easier to

Re: Link Error: PalmOS_Startup.cpp: '_Startup_' 16-bit code referance to 'PilotMain' is out of range

2003-11-18 Thread Dave Lippincott
I believe the your main routine needs to be in the first segment, try moving it closer to the beginning of your source file. Do you have a very large function? Try breaking it up or moving other routines around within your project. I usually break up my routines into different modules sorted by

Re: Link Error: PalmOS_Startup.cpp: '_Startup_' 16-bit code referance to 'PilotMain' is out of range

2003-11-18 Thread Anders Rahm-Nilzon
THANK you SO much !!! \Anders R-N -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Link Error: PalmOS_Startup.cpp: '_Startup_' 16-bit code referance to 'PilotMain' is out of range

2003-11-18 Thread Ben Combee
At 08:02 AM 11/18/2003, Anders Rahm-Nilzon wrote: Hi, I get this linker error that I can't solve. I've tried to set the code model to smart for the 68k processor in Code Generation but it didn't make this error to go away :( Is there anoyone that's having a clue how I could solve this problem ???

Re: Link Error

2003-10-31 Thread Matthew Henry
Harl Clifford Duffey IV [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] My code compiled fine until I added a parameter to a function - now I get a link error: Link Error: '___Startup___' 16-bit code reference to 'PilotMain' is out of range Have you tried moving your object files

Re: Link Error : __RuntimeModule__: Near data segment is bigger than 64k.

2003-10-17 Thread Ben Combee
At 08:54 AM 10/17/2003, Vijayasaradhi D. wrote: Dear All, I am getting the following error. Any idea why this error would occur ? Link Error : __RuntimeModule__: Near data segment is bigger than 64k. The total code size is 439K The total Data size is 102K I am using the Expanded Mode setting

Re: link error CW9.2, help !

2003-10-03 Thread Ben Combee
At 04:23 AM 10/3/2003, Chris Apers wrote: Hi, i have ported a project from v8.3 to v9.2 and now i have link errors : Link Error : file.cpp: '__upper_mapC' referenced from 'File::fopenNoCase(const char*,const char*,const char*)' is undefined. Link Error : file.cpp: '__lower_mapC' referenced

Re: link error in a c++ shared library

2003-09-08 Thread Ben Combee
At 10:07 AM 9/8/2003, Eric Potter wrote: I have some code that compiled fine in a standard c++ application, but when I moved it to a shared library, I got a link error that says: Cursor.cpp: 'operator delete(void*)' reference from 'Entry::~Entry()' is undefined. Why is this happening? Shared

RE: Link Error AppHandleEvent

2003-09-04 Thread LionScribe
With CW9 it's so easy to use segments, so just segment it up. LionScribe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Groschen Sent: Thursday, September 04, 2003 2:20 PM To: Palm Developer Forum Subject: Link Error AppHandleEvent I am getting the

Re: Link Error AppHandleEvent

2003-09-04 Thread Paul Groschen
I'm new to segments. Are they in 64K blocks? Do you have an example or literature I can read. I see the segment tab in my project but I'm not sure what to do with it Thanks Paul LionScribe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] With CW9 it's so easy to use segments, so just

RE: Link Error AppHandleEvent

2003-09-04 Thread LionScribe
, must be in the first segment. LionScribe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Groschen Sent: Thursday, September 04, 2003 8:45 PM To: Palm Developer Forum Subject: Re: Link Error AppHandleEvent I'm new to segments. Are they in 64K blocks? Do

Re: Link Error : PalmRez Error:

2003-08-14 Thread Edward P. Ross
Al - That's a good point - is there a setting in CW that could have been inadvertently set? I can't see anything really obvious. Ed Albert J. Franklin wrote: Ed, Just a guess, but could the English version be interpreting the (2-byte) Unicode wide characters as (double the length)

Re: Link Error : PalmRez Error:

2003-08-14 Thread Edward P. Ross
I usually like to provide solutions when I find the answer to a question I asked. Here it goes. I turned the PC off last night and when I woke up today I turned it back on. I re-compiled, and it worked. No changes to anything, no tweaks, no nothing. Apparantly the computer just needed to

Re: Link Error : PalmRez Error:

2003-08-11 Thread Ben Combee
At 09:06 PM 8/9/2003, Edward P. Ross wrote: When compiling an application I am getting the following error: Link Error : PalmRez Error: Menu 1000 'ŠÂ‹«?ݒè' item 'ƒNƒ‰ƒCƒAƒ“ƒg?Eƒvƒ?ƒtƒB?[ƒ‹' is wider than the screen. Link Error : PalmRez Error: Total: 6 errors encountered. Compilation halted

Re: Link Error : PalmRez Error:

2003-08-10 Thread Albert J. Franklin
Ed, Just a guess, but could the English version be interpreting the (2-byte) Unicode wide characters as (double the length) single byte characters? Al - Original Message - From: Edward P. Ross [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Saturday, August 09,

Re: Link Error : PalmRez Error:

2003-08-10 Thread Ken Krugler
When compiling an application I am getting the following error: Link Error : PalmRez Error: Menu 1000 'ä¬ã´?ðíË' item 'ÉNÉâÉCÉAÉìÉg?EÉvÉ?ÉtÉB?[Éã' is wider than the screen. Link Error : PalmRez Error: Total: 6 errors encountered. Compilation halted This is a japanese language application

Re: Link error

2003-01-07 Thread Chris Apers
Is there a way to use very large data segement ? I really need that - Original Message - From: Ben Combee [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, December 24, 2002 6:29 AM Subject: Re: Link error At 20:29 2002-12-23 +0100, you wrote: Hi, First

Re: Link error

2003-01-07 Thread Ben Combee
At 12:51 2003-1-7 +0100, you wrote: Is there a way to use very large data segement ? I really need that No, its just not supported by Palm OS -- when Palm OS starts your program, it allocates a chunk of memory for your data segment, and the code in the OS won't allocate more than 64K for

Re: Link error

2002-12-23 Thread Horace Ho
See if this helps: http://oasis.palm.com/dev/kb/papers/1469.cfm horace Chris APERS [EMAIL PROTECTED] wrote in message news:106302@palm-dev-forum... Hi, First thanks to all of you who help me these past days. Now, I have a big problem when i try to compile a new version of my program, i added

Re: Link error

2002-12-23 Thread Ben Combee
At 20:29 2002-12-23 +0100, you wrote: Hi, First thanks to all of you who help me these past days. Now, I have a big problem when i try to compile a new version of my program, i added some new stuff (.cpp files) and now i have these links errors : Link Error : saveslot.cpp: Near data

Re: Link Error: RuntimeModule Startup blah blah

2002-11-15 Thread Daniel Suleski
That error message sounds awfully familiar when I was first starting up on CW8 last month. Wish I remembered what the problem was; however, I can throw some things you may want to try out there... 1. Make certain that you are linking with the right libraries. In my project, I am using

Re: Link Error: RuntimeModule Startup blah blah

2002-11-15 Thread Eddy
Daniel..thank you very much for your reply. I am getting close to this. I can't believe how long this is taking me to get done...rather fustrating ;) I can see that I need to link something, but I'm not familar with the codewarrior environment. In the program which I have that can compile, I

Re: Link Error: RuntimeModule Startup blah blah

2002-11-15 Thread Eddy
Eh? it seems to have worked! I added (ie. dragged and dropped into the project under files) BuildHeaders.mcp PalmOSRuntime_2i_A5.lib And now the make works! Great! Now, I have to figure why the code does nothing ;) Thanks again! Daniel Suleski [EMAIL PROTECTED] wrote in message

Re: Link Error: RuntimeModule Startup blah blah

2002-11-15 Thread Ben Combee
Link Error : __RuntimeModule__: '__Startup__' reference from '__DummyStartup__' is undefined. __Startup__ is supplied by one of the CodeWarrior runtime libraries. You can either use StartupCode.lib or one of the PalmOS_Runtime library files that CodeWarrior installs. The runtime library is

Re: Link error for Filename.cpp : Near data segment bigger than 64k

2002-11-14 Thread Ben Combee
At 16:27 2002-11-14 +0530, you wrote: Dear All, I have rather big application.Today we added some more file to project. Now we get link error. Near data segment bigger than 64k I found in code warrior help to Select the Far Data and Far Strings checkboxes in the 68K Processor settings panel.

Re: Link error for Filename.cpp : Near data segment bigger than64k

2002-11-14 Thread Jayanarayanan M N
Understood. Thank you. We had some big global objects. Now we made global pointers to them where actual objects are created on heap at the startup. Works for now. Need to implement ideas from http://www.metrowerks.com/pdf/Expanded_Mode.pdf. But that can wait, hopefully. -Jayan Ben Combee

Re: Link Error

2002-09-13 Thread Henk Jonas
Do you have both functions MainFormHandleEvent and SecondFormHandleEvent? It's your task to write them. Henk [EMAIL PROTECTED] wrote: Hi. I'm new to CodeWarrior IDE. There are two forms (MainForm and SecondForm) and one header file (Starter.h). When doing the compilation: Link

Re: Link Error

2002-09-13 Thread siewti_keng
Yes. I do have the AppHandleEvent(EventType*) function in the Starter.cpp(main cpp). Besides, the MainFormHandleEvent(EventType*) and SecondFormHandleEvent(EventType*) are in MainForm.cpp and SecondForm.cpp respectively (which forms do their functions at form level). I have declared the

Re: Link Error

2002-09-13 Thread Vikas Lakkashetti
Hi Quennie, Check out the following 1.The MainFormHandleEvent and SecondFormHandleEvent have a prototype defined either in the same file or in some .h file. 2.I hope the Project Access Paths are set to appropriate values. The same can be found under Edit-Debug/Build Settings Do lemme know aftet

Re: Link Error

2002-09-13 Thread Ben Combee
At 02:19 PM 9/13/2002 +0800, you wrote: Hi. I'm new to CodeWarrior IDE. There are two forms (MainForm and SecondForm) and one header file (Starter.h). When doing the compilation: Link Error : Starter.cpp: 'MainFormHandleEvent(EventType*)' referenced from 'AppHandleEvent(EventType*)' is

RE: Link Error

2002-09-11 Thread Vinu Raj
-Original Message- From: Dilek Özgü Hi. I use to print function (in Symbol SDK Support). extern C { #include PtPrint.h } When my program size increased , Its give me errors Link Error : Starter.cpp : 'PrinterOpen()' 16-bit code reference to 'ptOpenPrinter' is out

Re: Link Error : [file].c: '__wswtch__' referenced from '[Form]HandleEvent' is undefined

2002-07-16 Thread Ben Combee
In article 91220@palm-dev-forum, [EMAIL PROTECTED] says... I searched the archives and see lots of Link Errors - any clues on this one? Is there a reference somewhere where I can figure out what __wswtch__ even is? It is a CodeWarrior runtime library call that's used when you have a

RE: LINK ERROR BEN

2002-07-03 Thread Ben Combee
In article 90239@palm-dev-forum, [EMAIL PROTECTED] says... Hi everyone (BEN), I replied to this same question on pilot.programmer.codewarrior -- you need to change the 68K Processor setting for Floating Point from Library to Palm OS. If you need to set this to PALM OS why does the

Re: LINK ERROR HELP

2002-07-02 Thread abhandari
George, In CodeWarrior, go to Edit/Preferences/Debugger/Global Settings and check the 'Auto Target Libraries' checkbox. It should fix the problem. Anupam - Original Message - From: George Bassili [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, July 02,

RE: LINK ERROR BEN

2002-07-02 Thread George Bassili
Hi everyone (BEN), I replied to this same question on pilot.programmer.codewarrior -- you need to change the 68K Processor setting for Floating Point from Library to Palm OS. If you need to set this to PALM OS why does the multi segment stationary set it to Library? Is there a reason or is it

Re: Link Error

2002-05-13 Thread Dave Lippincott
http://oasis.palm.com/dev/kb/faq/1418.cfm Most answers are already in the Knowledge Base. - Original Message - From: Don Sherwood [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, May 13, 2002 10:47 AM Subject: Link Error I'm having

Re: Link Error

2002-05-13 Thread Ben Combee
In article 86146@palm-dev-forum, [EMAIL PROTECTED] says... I'm having trouble getting my application to link. I get the errors Link Error : __RuntimeModule__: Near data segment is bigger than 64k. and Link Error : PalmOS_Startup.c: '__LoadAndRelocate__' 16-bit data reference to

Re: Link error in Codewarrior 7.0

2002-03-14 Thread Jatin Sethi
Hi Ben: Actually since my last post I never got this to work. I will try your new suggestion. It makes a lot of sense since I do not remember including the StartupCode.lib in any of the targets. Thanks, Jatin Sethi (jay). Ben Combee [EMAIL PROTECTED] wrote in message news:79816@palm-dev-forum...

Re: Link error in Codewarrior 7.0

2002-03-14 Thread Jason Freund
Thanks! That worked. In my Files tab of the project window, both the Debug and Release targets list exactly the same set of files. StartupCode.lib was listed in a Palm OS Device folder in the project window for both Debug and Release. But when I switched to the Segments tab, there was a

Re: Link error in Codewarrior 7.0

2002-03-13 Thread Jason Freund
I'm having a similar problem -- and I still can't get it resolved... CW 7.0 compiles my app perfectly for the Debug version, but when I try to build the Release target, the linker gives: Link Error : __RuntimeModule__: '__Startup__' referenced from '__DummyStartup__' is undefined. I don't

Re: Link error in Codewarrior 7.0

2002-03-13 Thread Ben Combee
Jason Freund [EMAIL PROTECTED] wrote in message news:79770@palm-dev-forum... I'm having a similar problem -- and I still can't get it resolved... CW 7.0 compiles my app perfectly for the Debug version, but when I try to build the Release target, the linker gives: Link Error :

Re: Link error in Codewarrior 7.0

2002-02-13 Thread Ben Combee
jay [EMAIL PROTECTED] wrote in message news:76583@palm-dev-forum... Dear Friends: In my effort to understand what goes in behind linking a hack I am trying to rebuild the DemoHack (by Matthew Moss) from scratch in Codewarrior 7.0. I get the following error: Link Error :

Re: Link error compiling a Shared Library

2001-11-15 Thread Ben Combee
Young S. Cho [EMAIL PROTECTED] wrote in message news:68023@palm-dev-forum... I am trying to create a Shared Library and used the CW 8 Wizard to get the stubs generated. Then I was modifying the stubs to compile in my code and got the following link error: Link Error: bn_lib.c:

  1   2   >