Rockbox Development > Starting Development and Compiling

Script error in jpeg_idct_arm.S

(1/2) > >>

sparkplug619:
I have been having trouble with a patch I am doing. I was able to compile a simulator just fine, but when I get it ready for my ipod I am getting an error in "recorder", which I never even touched when patching files.

Here is the errors:

CC apps/recorder/jpeg_idct_arm.S
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:25:31: error: apps/core_asmdefs.h: No such file or directory
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S: Assembler messages:
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:322: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:323: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:625: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:626: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:627: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:628: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:629: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:630: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:721: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:722: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:723: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:724: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:725: Error: undefined symbol `pix8_size' in operation
/home/lafayette/rockbox1/apps/recorder/jpeg_idct_arm.S:726: Error: undefined symbol `pix8_size' in operation
make: *** [/home/lafayette/rockbox1/build/apps/recorder/jpeg_idct_arm.o] Error 1

saratoga:
Basically, you screwed something up.

First do a make clean, then try building again.  If that doesn't fix it, dig through your changes and figure out which one of them is screwing up the build. 

sparkplug619:
It fixed it, Thanks alot.

now a new error comes up, I've been dealing with this error off and on and I am sure it has to do with the changes but I just dont understand it and nothing at all comes up when I search for the error, or even a few keywords from the error

here it is:

/home/lafayette/rockbox1/build/apps/playlist.o: In function `get_extm3u_info':
playlist.c:(.text+0x1d14): undefined reference to `strncpy'
collect2: ld returned 1 exit status
make: *** [/home/lafayette/rockbox1/build/rockbox.elf] Error 1
Post Merge: May 16, 2011, 08:33:37 PMBTW, I posted the new error in a thread yesterday, but within minutes the thread was completely gone, I'm guessing it got deleted

saratoga:

--- Quote from: sparkplug619 on May 16, 2011, 08:32:29 PM ---/home/lafayette/rockbox1/build/apps/playlist.o: In function `get_extm3u_info':
playlist.c:(.text+0x1d14): undefined reference to `strncpy'
collect2: ld returned 1 exit status
make: *** [/home/lafayette/rockbox1/build/rockbox.elf] Error 1
Post Merge: May 16, 2011, 08:33:37 PM
--- End quote ---

We don't have strncpy, so unless you've written one, you can't use it.

edit:  this should work, although i'm not 100% clear what the difference is between the two.

http://en.wikipedia.org/wiki/Strlcpy

sparkplug619:
I think I am looking at the strncpy in the plugins/lib folder. I found a file in said library called strncpy.c. I will attach if u want to see it.


Again, This came from rockbox/apps/plugins/lib

Navigation

[0] Message Index

[#] Next page

Go to full version