Author Topic: pdaXrom 1.1.0 undefined symbol: __udivsi3 ???  (Read 8280 times)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« on: August 19, 2004, 07:18:27 am »
I get this error when trying to run things which used to work on 1.0.5.

For example Xcas/Giac (which was compiled on the skiffcluster) and swfplayer (which I cross compiled, probably with the pdaXrom toolchain - but I can't really remember).

Any ideas for a fix, or will I have to re-compile everything?

Cheers,


Si

P.S. A few more things which come up with the same error: gnuplot and xscreensaver
« Last Edit: August 20, 2004, 06:47:53 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Xumbi

  • Full Member
  • ***
  • Posts: 178
    • View Profile
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #1 on: August 19, 2004, 03:24:17 pm »
I'm getting this same error after installing gimp from www.pdaxrom.org/feed

fabianE

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #2 on: August 20, 2004, 05:04:48 am »
Hello,

I have another undefined symbol when I run snes emulator (from davonz feed):

relocation error: /usr/bin/snes9x: undefined symbol: __umodsi3

Regards,

Fabian

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #3 on: August 20, 2004, 09:05:09 am »
and with "less" ... etc.

<Xumbi> has anyone else seen the "udivsi3" error with kathrin?
> less: relocation error: less: undefined symbol: __modsi3


what is this? some math libs?  (div, mod, etc)

Scott
« Last Edit: August 20, 2004, 09:05:28 am by ScottYelich »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #4 on: August 20, 2004, 09:17:28 am »
I've seen something similar to my error caused by different versions of libncurses.

That said, I don't think this can be ncurses as gnuplot works until it tries to create the X11 window to display the plot.

I had thought this was only X lib related, but if less does it too....



Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Xumbi

  • Full Member
  • ***
  • Posts: 178
    • View Profile
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #5 on: August 20, 2004, 10:40:18 am »
I don't know if this is related, but I'm noticing strangeness when trying to install applications from www.pdaxrom.org/feed on RC2.

For example, I installed doomdemo from the feed onto my SD card.  At the same time, it installed sdl, sdl-mixer and sdl-net to SD as well, when sdl and sdl-mixer were already installed to root (they came installed with RC2).  After installing, doom runs fine, but it shouldn't have to install those dependencies.

Something similar happens with gimp, but far worse.  It tries to install all kinds of packages that are already installed to root (like xfree430!).  This is the worst for me, since I really wanted gimp to work with RC2.  I'm going to try installing from the command line with --force-depends or something...

UPDATE: I installed gimp, libgimp, and gimp-plugins from the command line using -force-depends, when I try to run gimp I get the following:

gimp: relocation error: gimp: undefined symbol: __divsi3
« Last Edit: August 20, 2004, 11:20:38 am by Xumbi »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #6 on: August 20, 2004, 11:11:56 am »
I tried installing some packages and they all demanded themselves as dependencies, very useful.

Personally I think that the ROM should move away from the ipkg script and use something like the binary ipkg which OZ uses (as it's more stable and just works).

This isn't related to the undefined symbols errors mind you, just my opinion; I'm going to try the transplant over the weekend.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #7 on: August 20, 2004, 01:27:59 pm »
It was suggested on IRC that I change libgcc_s.so.1 for an older version to get rid of these problems, unfortunately gnuplot (the only one I've tested thus far) still dies with the same undefined symbol error even with the new version.

On a brighter note, I've successfully transplanted the ipkg package from OZ3.3.5 and now I have a useful installation system (no offence to the ipkg script developers).


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

diesel1

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.diesel1.demon.co.uk
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #8 on: August 22, 2004, 03:01:28 pm »
Quote
Something similar happens with gimp, but far worse. It tries to install all kinds of packages that are already installed to root (like xfree430!). This is the worst for me, since I really wanted gimp to work with RC2. I'm going to try installing from the command line with --force-depends or something...


I have tried to install gnumeric(from feed2) and it keeps installing multiple files(some of which are needed, some of which are already installed to /), not just once but over and over again, I had to interupt it in the end.

I installed xmonobut with no problems

It is OK though, as this is an RC!

Simon
C860-Zubuntu
DLinkAir660WCF-1Gb/256Mb/64MbIntegralSD-256Mb/64MbIntegralCF

SL5500-OZ3.5.2/OPIE1.1.7

Reaper

  • Full Member
  • ***
  • Posts: 126
    • View Profile
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #9 on: August 23, 2004, 08:37:17 am »
Yes, this problem does exist. I bumped into it when I tried to run freesci 0.3.3 from Familiar site. It installed perfectly, detected my game and when initializing graphics it gave relocation error: undefined symbol: __divsi3 . And I wanted to play my old games on Z so very much...   Any suggestions (e.g. links to necessary libs) will be greatly appreciated.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #10 on: August 25, 2004, 07:02:36 pm »
Funnily enough I can run R (though I've not tried any graphics) and gnuplot only falls over when I try to create graphics. Other than the report of less not working, this all seems to be related to X11 somehow.

As an aside, which toolchain should one use to develop for RC2? Does the 1.0.5 toolchain/SDK produce working binaries?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #11 on: August 25, 2004, 09:12:36 pm »
Si
Checkout the fixed bug list on pdaXrom.org, it's showing the undefined symbols bug as being fixed.

Can't wait for the final release  

Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #12 on: August 26, 2004, 05:36:47 am »
Yeah, it was 'fixed' almost as soon as I put it on there.

The answer given was to not use anything older than the pdaXrom 1.0.5 SDK. All well and good, but I'd like to know what causes the problem (as I have lots of older stuff which I don't want to re-compile).

A bit more info about my gnuplot problem: gnuplot starts gnuplot_x11 which I assume does the plotting; if I type "plot sin(x)" in gnuplot, it dies but gnuplot_x11 is started and goes on living (and eating 40% of the processor cycles to boot).

Very strange.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

fabianE

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #13 on: August 28, 2004, 08:46:48 pm »
Hello,

gnuplot works with my RC2, I tried the plot sin(x) and load "all.dem" and no problems (many graphics). I just installed it from the feed.

Regards,

Fabian

gene

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://www.fastcube.com
pdaXrom 1.1.0 undefined symbol: __udivsi3 ???
« Reply #14 on: September 02, 2004, 07:29:12 pm »
i too am experiencing the sam divsi3 problem in vim, nano, and xchat.