From owner-freebsd-questions Sat Jul 21 20:50:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 0097437B408 for ; Sat, 21 Jul 2001 20:50:17 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 56435 invoked by uid 100); 22 Jul 2001 03:50:16 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15194.19831.865217.305940@guru.mired.org> Date: Sat, 21 Jul 2001 22:50:15 -0500 To: Phillip Neiswanger Cc: questions@freebsd.org Subject: Re: Palm Pilot programming and PRC-Tools In-Reply-To: <38233157@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Phillip Neiswanger types: > I'm trying to get the helloworld program that comes with > "Palm OS Programming Bible" to compile, but I'm having a few problems. This is *definitely* the wrong list to ask these questions on. Try: Pilot-unix mailing list Pilot-unix@hcirisc.cs.binghamton.edu http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix > I'm running FreeBSD 4.3 generic and I have the following palm oriented > packages installed. > > palmpower-1.0.2 Disassembler and other tools for PalmOS binaries > pilot-link-0.9.3 PalmPilot communications utilities > pilot_makedoc-0.7a Converts text into the Doc format used by PalmPilots > pose-3.1 Palm OS(R) Emulator > prc-tools-binutils-2.0 > PRC-tools for Palm OS (binutils part) > prc-tools-gcc-2.0 > PRC-tools for Palm OS (gcc part) > > I created the following directory tree in /usr/local. > > /usr/local/palmdev/sdk -> sdk-3.5 > /usr/local/palmdev/sdk-3.5/include -> ~pgn/palmPilot/palmOS3.5/Palm OS 3.5 > Support/Incs > /lib -> ~pgn/palmPilot/palmOS3.5/Palm OS 3.5 > Support/GCC Libraries > > When I compile the program I get the following: > > pgn> make > m68k-palmos-gcc -I. -O2 -c hello.c -o hello.o > hello.c: In function `SaySomething': > hello.c:26: warning: assignment makes pointer from integer without a cast > m68k-palmos-gcc -I. -O2 hello.o -o hello > /usr/local/pilot/m68k-palmos/bin/ld: cannot open crt0.o: No such file or > directory > collect2: ld returned 1 exit status > gmake: *** [hello] Error 1 > > As far as I can tell there isn't any crt0.o associated with the prc-tools > installation. What am I missing? Is there some additional software I > need to install. More symlinks? What? There's a crt0.o in the prc-tools package. ld comes in the prc-tools-binutils package. I'm surprised that the latter doesn't find the former. A symlink should fix it - but it shouldn't be needed. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message