Menu

#2 linker problem on Debian Linux

v1.0 (example)
open
nobody
7
2003-10-01
2003-05-26
No

compiling 99g seems ok, the linker then complains:
....
Making all in translations
make[1]: Entering directory
`/usr/src/viewer-0.99g/viewer/translations'
make[1]: Für das Target ťallŤ gibt es nichts zu tun.
make[1]: Leaving directory
`/usr/src/viewer-0.99g/viewer/translations'
make[1]: Entering directory `/usr/src/viewer-0.99g/viewer'
/bin/sh ../libtool --silent --mode=link g++ -O2 -Wall
-s -o viewer -L/usr/X11R6/lib svgexport.o report.o
commandproc.o splashapp.o 3Dview.moc.o
colorfunctions.moc.o commandproc.moc.o
drawingboard.moc.o drawingenvironment.moc.o
fileio.moc.o helpabout.moc.o layermanager.moc.o
plotter.moc.o report.moc.o drawingenvironment.o
layermanager.o serialport.o utilities.o plotter.o
infomessage.o 3Dview.o helpabout.o errorhandlers.o
colorfunctions.o vectorize.o OD_interface.o
drawingboard.o fileio.o main.o OpenDWG/ad2.a
OpenDWG/ad3.a -lqt -lXext -lX11
main.o: In function `main':
main.o(.text+0xa0f): undefined reference to
`QWindowsStyle::QWindowsStyle(void)'
OpenDWG/ad3.a(avtext.o): In function `nextmtextchar':
avtext.o(.text+0xc5d): undefined reference to
`__ctype_toupper_loc'
avtext.o(.text+0x1183): undefined reference to
`__ctype_toupper_loc'
collect2: ld returned 1 exit status
make[1]: *** [viewer] Fehler 1
make[1]: Leaving directory `/usr/src/viewer-0.99g/viewer'
make: *** [all-recursive] Fehler 1

system version:
Linux version 2.4.20-w4l (root@ots-2) (gcc version
2.95.4 20011002 (Debian prerelease))

KDE 3.0.2, glibc 2.2.5, GNU ld version 2.12.90.0.9
20020526 Debian GNU/Linux

any idea?

Discussion

  • Andrew Bibb

    Andrew Bibb - 2003-06-02

    Logged In: YES
    user_id=255013

    Sorry for the delay - just ran across this bug post.

    The problem is the new OD lib's (2.010) which were
    compiled with a new version of gcc. To get around this
    problem you will need to update your glibs or run the
    program with OD 2.009.2 or an earlier version.

     
  • Joachim Schwender

    Logged In: YES
    user_id=787120

    Same with the version 1.0.2 and newest libs i could get
    I don't know how to find out the version of the libs?

     
  • Guy Edwards

    Guy Edwards - 2003-08-27

    Logged In: YES
    user_id=585096

    This from JS in addition:
    > The problem still exists, I have no access to older
    > versions of the libs, that work, i tried a version
    > from March 2002, August 2002, September 2002, Feb
    > 2003, (I cannot find version information). I use
    > KDE 3.0.2 (debian woody),
    > gcc 2.95.4. I also tried it on another Linux system
    > with gcc 3.1, and KDE 3.1.2, - same result.

    Maybe the website needs a section that explains the dependancies?

    The latest OpenDWG libs were compiled with a new version of GCC.
    For reference, here's my setup:
    GCC v3.2 or greater
    Viewer v1 or greater
    OpenDWG 2.010
    Qt libs equal to or greater than Qt3.0.5 (3.0.3 WONT do)

    I think what AJ's saying is that your compile environment is older than
    the persons who compiled the OpenDWG binary libs, and that's where
    the problem is.

    Stick at it dude, it does compile honest.
    (there's not much we can do about the OpenDWG people)

    Let us know how you get on, but update your packages first.
    Guy

     
  • Joachim Schwender

    Logged In: YES
    user_id=787120

    Got the same result on a system with kernel 2.4.21, glibc
    2.2.5, gcc 3.3.1, gnu ld 2.13.2.1, qt 3.1.2, viewer 1.0.2,
    dwg toolkit version 2.012, please help!!!!!

     
  • Joachim Schwender

    Logged In: YES
    user_id=787120

    I run the newest gcc so it should not be an issue with
    related libs, but is is the new glibc 2.3 required?
    This is unclear to me.

     
  • Guy Edwards

    Guy Edwards - 2003-10-01
    • milestone: --> v1.0 (example)
    • priority: 5 --> 7
     
  • Guy Edwards

    Guy Edwards - 2003-10-01

    Logged In: YES
    user_id=585096

    Ok,

    I'll find a spare box at work and install Debian, then
    I'll have a go with lx-viewer.

    I've bumped this up in priority just to show we are
    listening, but I can't assign this to myself as the
    sourceforge admin link isn't working (!)

    It's been a busy week but I'll find time to do this. have
    a look at this page in a week or so and I'll try and have
    an install howto/faq for debian floating about.

    Guy

     
  • Guy Edwards

    Guy Edwards - 2003-11-24

    Logged In: YES
    user_id=585096

    I've now got Debian unstable installed on my main pc, I'll
    give this some time but I have to setup debian first.
    Almost there.

    Guy

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.