From: SourceForge.net <no...@so...> - 2011-09-09 22:04:56
|
Bugs item #3406845, was opened at 2011-09-09 16:42 Message generated for change (Comment added) made by tecodev You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3406845&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build system Group: non bugs >Status: Pending >Resolution: Rejected Priority: 5 Private: No Submitted By: John Bielefeld (jbielefeld) Assigned to: Borut Ražem (borutr) Summary: Build error Initial Comment: sdcc-src-20110909-6846.tar.bz2 Command: sudo make when I run make I get the following error: make[7]: Entering directory `/home/jbielefeld/Downloads/SDCC-3.0/Last-Snapshot/SDCC-src/sdcc/device/non-free/lib/pic16/libdev' source='pic18f23k22.c' object='libdev18f23k22_a-pic18f23k22.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../depcomp \ '/home/jbielefeld/Downloads/SDCC-3.0/Last-Snapshot/SDCC-src/sdcc/device/non-free/lib/pic16//../../../../bin/sdcc' -DHAVE_CONFIG_H -I. -I.. -p18f23k22 --std-c99 --asm="'/usr/bin/gpasm'" -I. -I../../../../include/pic16 -I../../../../non-free/include/pic16 --fomit-frame-pointer --obanksel=9 --denable-peeps --optimize-cmp --optimize-df --i-code-in-asm -DUSE_FLOATS=0 -mpic16 -p18f452 -c -o libdev18f23k22_a-pic18f23k22.o `test -f 'pic18f23k22.c' || echo './'`pic18f23k22.c libdev18f23k22_a-pic18f23k22.asm:8:Error [132] Unknown processor. libdev18f23k22_a-pic18f23k22.asm:392:Error [131] Processor type is undefined. Looks like device 18F23K22 is broken. John ---------------------------------------------------------------------- >Comment By: Raphael Neider (tecodev) Date: 2011-09-09 22:04 Message: make -k 2>&1 | tee output.log should do the trick. On bash, make -k |& tee output.log should work as well. The use of 'tee' allows you to also view progress on screen. 2>&1 or |& redirect standard error in addition to standard output. Without tee, make -k 2>&1 >output.log should put all output of make's subprocesses into output.log. ---------------------------------------------------------------------- Comment By: John Bielefeld (jbielefeld) Date: 2011-09-09 21:51 Message: tecodev, Using make -k about 2/3 of the library libdev built ok. The rest of the parts did not. I am not a unix guy but how can I pipe the output of the make -k into a file? The terminal can only display so many lines. John ---------------------------------------------------------------------- Comment By: Raphael Neider (tecodev) Date: 2011-09-09 21:49 Message: As per the ChangeLog, gputils have added support for the 2xk22 family on May 26, 2011; the latest release is from March 2009 if I interpret the dates correctly ... You will have to obtain gputils sources via svn, exclude the unsupported devices from the build, or ignore build errors. The .asm files are probably deleted after assembling them. You may try to run the sdcc command stated in the original post in the proper directory, but replace -c (compile and assemble, do not link) with -S (compile only) and k22.o with k22.asm to retrieve the .asm file, but the error is rather clear: the .asm file contains a p=18f23k22 directive, and your gpasm does not yet support that device. ---------------------------------------------------------------------- Comment By: John Bielefeld (jbielefeld) Date: 2011-09-09 21:41 Message: tecodev, I am going to make -k. Let you know the results... John ---------------------------------------------------------------------- Comment By: John Bielefeld (jbielefeld) Date: 2011-09-09 21:37 Message: I down loaded the latest build of SDCC from today. Then I checked gputils that I had already installed with the latest release on the gputils site. They were the same. It's like the assembler has unresolved items that did not get defined correctly when 18f23k22.c was compiled. I am trying to find the generated libdev18f23k22_a-pic18f23k22.asm file and open it with an editor ans see what items the assembler is complaining about. I hoping this can give me a clue as to what is not getting defined. line 8: Unknown processor line 392: Processor type is undefined. etc..... Where do the asm files get placed? It's hard to read the make install script as to the path for the resulting asm files. Just trying to help here. John John ---------------------------------------------------------------------- Comment By: Raphael Neider (tecodev) Date: 2011-09-09 21:26 Message: You might try building sdcc using make -k and make -k install in order to make 'make' continue on errors. ---------------------------------------------------------------------- Comment By: Maarten Brock (maartenbrock) Date: 2011-09-09 21:24 Message: If you check the package manager I'm sure you would not get SDCC revision 6846 either. If you want to build SDCC from the development sources, you'll need to do the same with gputils. ---------------------------------------------------------------------- Comment By: John Bielefeld (jbielefeld) Date: 2011-09-09 21:11 Message: I checked the Synaptic Package Manager and I have the latest gputils 0.13.7-1 John ---------------------------------------------------------------------- Comment By: John Bielefeld (jbielefeld) Date: 2011-09-09 20:53 Message: OK, Will try this. Also some of the PIC chips did not receive an error. Only the one described. However, it stops the build from proceeding further when encountered. John ---------------------------------------------------------------------- Comment By: Borut Ražem (borutr) Date: 2011-09-09 18:12 Message: You should use the gputils from svn HEAD. I already proposed to gputils team to make a new release, but nobody answered... Borut ---------------------------------------------------------------------- Comment By: Gál Zsolt (galzsolt) Date: 2011-09-09 17:59 Message: Probably you have to upgrade the GPUTILS package on your system. ---------------------------------------------------------------------- Comment By: John Bielefeld (jbielefeld) Date: 2011-09-09 16:49 Message: I am doing a PIC16 build of the SDCC compiler. From configuration script i have disabled mcs51, gbz80, z80,avr, ds360, ds400, hc08, and xa51 ports. Only the two PIC ports are enabled. I have -prefix set to -prefix=/usr John ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3406845&group_id=599 |