error compiling 2.0.2 on Mandrake 10.1

Help
2004-10-24
2013-04-24
  • Michael Crider

    Michael Crider - 2004-10-24

    Compiling with GNOME:

    [snipped]
    g++  -g -O2   -o gnubiff  gnubiff.o biff.o mailbox.o socket.o file.o imap4.o maildir.o mh.o pop.o apop.o pop3.o gui.o ui-applet.o ui-applet-gtk.o ui-preferences.o ui-authentication.o ui-certificate.o ui-properties.o gtk_image_animation.o ui-popup.o support.o  -Wl,--export-dynamic -pthread -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
    gnubiff.o(.text+0x141): In function `mainGTK(int, char**)':
    /home/mecrider/downloads/gnubiff-2.0.2/src/gnubiff.cc:69: undefined reference to `poptHelpOptions'
    gnubiff.o(.text+0x1d2):/home/mecrider/downloads/gnubiff-2.0.2/src/gnubiff.cc:88: undefined reference to `poptGetContext'
    gnubiff.o(.text+0x1e5):/home/mecrider/downloads/gnubiff-2.0.2/src/gnubiff.cc:89: undefined reference to `poptGetNextOpt'
    gnubiff.o(.text+0x1fe):/home/mecrider/downloads/gnubiff-2.0.2/src/gnubiff.cc:95: undefined reference to `poptGetNextOpt'
    gnubiff.o(.text+0x4f8):/home/mecrider/downloads/gnubiff-2.0.2/src/gnubiff.cc:91: undefined reference to `poptStrerror'
    gnubiff.o(.text+0x505):/home/mecrider/downloads/gnubiff-2.0.2/src/gnubiff.cc:91: undefined reference to `poptBadOption'
    gnubiff.o(.text+0x52a):/home/mecrider/downloads/gnubiff-2.0.2/src/gnubiff.cc:92: undefined reference to `poptPrintHelp'
    collect2: ld returned 1 exit status
    make[1]: *** [gnubiff] Error 1
    make[1]: Leaving directory `/home/mecrider/downloads/gnubiff-2.0.2/src'
    make: *** [all-recursive] Error 1

     
    • Nicolas Rougier

      Nicolas Rougier - 2004-10-25

      What did the configure script said about popt library when you configured it ?

      Nicolas

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks