[jp] Still unable to compile jpilot in slackware-current

  • Previous message: [jp] Still unable to compile jpilot in slackware-current
  • Next message: [jp] Still unable to compile jpilot in slackware-current
  • TR tmst at nethere.com
    Fri Jun 9 19:33:31 EDT 2006

     

    Hmm. [make] is trying to link [jpilot] using a version of install_user.o which 
    doesn't appear to have compiled properly and thus is not providing the 
    definition of install_user_gui().
    
    Seems strange. I wonder whether a "make clean" and then a 'make' would help.
    
    If I remember correctly, you were having trouble before with jpilot.c not 
    compiling due to a nested function definition within a section of code 
    surrounded by "ifdef __enable_gtk2". I thought the code looked kind of 
    strange, and wasn't able to determine where the function's closing brace was. 
    Anyway, I take it that removing "docs" handled this. Yes?
    
    -TR
    
    On Friday 09 June 2006 12:20, Pedro Alves wrote:
    > After removing 'docs' from makefile (gives me errors), I still get this
    > error:
    >
    > gcc -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
    > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
    > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    > -DLOCALEDIR=\"/opt/jpilot-20050507//share/locale\"
    > -DGNULOCALEDIR=\"/opt/jpilot-20050507//share/locale\" -g -O2 -I/usr/include
    > -o jpilot address.o address_gui.o alarms.o category.o cp1250.o dat.o
    > datebook.o datebook_gui.o dialer.o export_gui.o import_gui.o install_gui.o
    > japanese.o jpilot.o libplugin.o log.o memo.o memo_gui.o monthview_gui.o
    > otherconv.o password.o pidfile.o plugins.o prefs.o prefs_gui.o print.o
    > print_gui.o print_headers.o print_logo.o restore_gui.o russian.o
    > search_gui.o sync.o todo.o todo_gui.o utils.o weekview_gui.o
    > -Wl,--export-dynamic  -L/usr/lib /usr/lib/libgtk-x11-2.0.so
    > /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
    > /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so
    > -L/usr/X11R6/lib /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so
    > /usr/lib/libcairo.s! o -lXrender -lX11 -lXext -lpng12
    > /usr/X11R6/lib/libfontconfig.so /usr/lib/libexpat.so
    > /usr/lib/libfreetype.so -lz -lm /usr/lib/libgobject-2.0.so
    > /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libpisock.so
    > -lncurses -lreadline -ldl jpilot.o(.text+0x9ed): In function
    > `cb_install_user':
    > /home/pedro/can2/jpilot/jpilot.c:618: undefined reference to
    > `install_user_gui' collect2: ld returned 1 exit status
    > make[2]: *** [jpilot] Error 1
    > make[2]: Leaving directory `/home/pedro/can2/jpilot'
    > make[1]: *** [all-recursive] Error 1
    > make[1]: Leaving directory `/home/pedro/can2/jpilot'
    > make: *** [all] Error 2
    >
    >
    > Can anyone help me?
    >
    > Thanks
    
    

     

     

    More information about the jpilot mailing list