gnupic: trouble linking sdcc-svn vs gputils-0.13.7-1


Previous by date: 28 Aug 2013 11:48:06 -0000 Re: PIC18F47J53, Ian Jackson
Next by date: 28 Aug 2013 11:48:06 -0000 Re: trouble linking sdcc-svn vs gputils-0.13.7-1, James Cameron
Previous in thread:
Next in thread: 28 Aug 2013 11:48:06 -0000 Re: trouble linking sdcc-svn vs gputils-0.13.7-1, James Cameron

Subject: trouble linking sdcc-svn vs gputils-0.13.7-1
From: James Cameron ####@####.####
Date: 28 Aug 2013 11:48:06 -0000
Message-Id: <20130828114653.GB13340@us.netrek.org>

G'day,

I've attempted to combine sdcc from SVN with gputils 0.13.7-1 on
Debian, to build a LED blink test program for PIC 16F84.

I'm confused by this output from the link:

$ gplink -m -s a.lkr -o a.hex a.o  -I /usr/local/share/sdcc/lib/pic14 libsdcc.lib
warning: processor mismatch in "shadowregs.o"
warning: processor mismatch in "idata.o"
warning: processor mismatch in "_gptrget1.o"
warning: processor mismatch in "_gptrget2.o"
error: missing definition for symbol "_STATUS", required by "_gptrget1.o"
error: missing definition for symbol "_PCLATH", required by "_gptrget1.o"
error: missing definition for symbol "_PORTB", required by "a.o"
error: missing definition for symbol "_INDF", required by "_gptrget1.o"
error: missing definition for symbol "_INTCONbits", required by "a.o"
error: missing definition for symbol "_PCL", required by "_gptrget1.o"
error: missing definition for symbol "_TRISB", required by "a.o"
error: missing definition for symbol "_FSR", required by "_gptrget1.o"
$ 

What have I done wrong?

http://dev.laptop.org/~quozl/z/1VEeBr.txt has Makefile, C source,
.lst, and .lkr.

p.s. on http://gputils.sourceforge.net/faq.html feel free to change
####@####.#### to ####@####.#### thanks!

-- 
James Cameron
http://quozl.linux.org.au/

Previous by date: 28 Aug 2013 11:48:06 -0000 Re: PIC18F47J53, Ian Jackson
Next by date: 28 Aug 2013 11:48:06 -0000 Re: trouble linking sdcc-svn vs gputils-0.13.7-1, James Cameron
Previous in thread:
Next in thread: 28 Aug 2013 11:48:06 -0000 Re: trouble linking sdcc-svn vs gputils-0.13.7-1, James Cameron


Powered by ezmlm-browse 0.20.