Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Script error in jpeg_idct_arm.S
« previous next »
  • Print
Pages: [1]

Author Topic: Script error in jpeg_idct_arm.S  (Read 1717 times)

Offline sparkplug619

  • Member
  • *
  • Posts: 4
Script error in jpeg_idct_arm.S
« on: May 16, 2011, 08:06:18 PM »
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
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Script error in jpeg_idct_arm.S
« Reply #1 on: May 16, 2011, 08:22:07 PM »
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. 
Logged

Offline sparkplug619

  • Member
  • *
  • Posts: 4
Re: Script error in jpeg_idct_arm.S
« Reply #2 on: May 16, 2011, 08:32:29 PM »
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 PM
BTW, I posted the new error in a thread yesterday, but within minutes the thread was completely gone, I'm guessing it got deleted
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Script error in jpeg_idct_arm.S
« Reply #3 on: May 16, 2011, 08:38:12 PM »
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

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
« Last Edit: May 16, 2011, 08:51:38 PM by saratoga »
Logged

Offline sparkplug619

  • Member
  • *
  • Posts: 4
Re: Script error in jpeg_idct_arm.S
« Reply #4 on: May 16, 2011, 08:57:08 PM »
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
* strncpy.c (2.73 kB - downloaded 96 times.)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Script error in jpeg_idct_arm.S
« Reply #5 on: May 16, 2011, 09:03:12 PM »
Quote from: sparkplug619 on May 16, 2011, 08:57:08 PM
I think I am looking at the strncpy in the plugins/lib folder. I found a file in said library called strncpy.c.

Well if you can make that work, then go for it.
Logged

Offline sparkplug619

  • Member
  • *
  • Posts: 4
Re: Script error in jpeg_idct_arm.S
« Reply #6 on: May 16, 2011, 09:05:18 PM »
thanks for the help. ill post the results after

Post Merge: May 16, 2011, 10:14:34 PM
so I changed from strncpy to strlcpy. This fixed the problem... there is a big bug, the patch was to enable extm3u fomat to be read instead of having to recreate all my playlists. The playlists show up, I open them up, and I get an (err) in front of all the songs and I am unable to exit the playlist unless I reboot. Im going to try to work this out
« Last Edit: May 16, 2011, 10:14:34 PM by sparkplug619 »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Script error in jpeg_idct_arm.S
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.066 seconds with 15 queries.