#388 --disable-midi --disable-rs232 --enable-gnomeui

None
closed-fixed
nobody
2013-06-30
2013-02-10
No

This UI build options will yield repeating error messages whenever accessing any of the Gnome menus:

Warning - Trying to read value from unknown resource `RsDevice2Baud'.
Warning - Trying to read value from unknown resource `RsDevice2Baud'.
Warning - Trying to read value from unknown resource `RsDevice2Baud'.
Warning - Trying to read value from unknown resource `RsDevice2Baud'.
Warning - Trying to read value from unknown resource `RsDevice2Baud'.
Warning - Trying to read value from unknown resource `RsDevice2Baud'.
Warning - Trying to read value from unknown resource `RsDevice2Baud'.
Warning - Trying to read value from unknown resource `RsDevice2Baud'.
Warning - Trying to read value from unknown resource `RsDevice1Baud'.
Warning - Trying to read value from unknown resource `RsDevice1Baud'.
Warning - Trying to read value from unknown resource `RsDevice1Baud'.
Warning - Trying to read value from unknown resource `RsDevice1Baud'.
Warning - Trying to read value from unknown resource `RsDevice1Baud'.
Warning - Trying to read value from unknown resource `RsDevice1Baud'.
Warning - Trying to read value from unknown resource `RsDevice1Baud'.
Warning - Trying to read value from unknown resource `RsDevice1Baud'.
Warning - Trying to read value from unknown resource `Acia1Mode'.
Warning - Trying to read value from unknown resource `Acia1Mode'.
Warning - Trying to read value from unknown resource `Acia1Mode'.
Warning - Trying to read value from unknown resource `Acia1Irq'.
Warning - Trying to read value from unknown resource `Acia1Irq'.
Warning - Trying to read value from unknown resource `Acia1Irq'.
Warning - Trying to read value from unknown resource `Acia1Base'.
Warning - Trying to read value from unknown resource `Acia1Base'.
Warning - Trying to read value from unknown resource `Acia1Dev'.
Warning - Trying to read value from unknown resource `Acia1Dev'.
Warning - Trying to read value from unknown resource `Acia1Dev'.
Warning - Trying to read value from unknown resource `Acia1Dev'.
Warning - Trying to read value from unknown resource `Acia1Enable'.

Discussion

  • gpz

    gpz - 2013-02-26
    • status: open --> pending-fixed
     
  • gpz

    gpz - 2013-02-26

    fixed in r27284, thanks for reporting!

     
  • Moiree

    Moiree - 2013-02-26

    Probably related: I did _not_ configure --disable-rs232 and now I get this:

    Making all in platform
    ../src/arch/unix/gui/libarchgui.a(c64scui.o):(.data+0x960): undefined reference to `uirs232_c64_submenu'
    ../src/arch/unix/gui/libarchgui.a(c64ui.o):(.data+0x960): undefined reference to `uirs232_c64_submenu'
    collect2: error: ld returned 1 exit status
    make[3]: *** [x64] Error 1
    make[3]: *** Waiting for unfinished jobs....
    ../src/arch/unix/gui/libarchgui.a(c64scui.o):(.data+0x960): undefined reference to `uirs232_c64_submenu'
    ../src/arch/unix/gui/libarchgui.a(c64ui.o):(.data+0x960): undefined reference to `uirs232_c64_submenu'
    collect2: error: ld returned 1 exit status
    make[3]: *** [x64sc] Error 1
    ../src/arch/unix/gui/libarchgui.a(c128ui.o):(.data+0x1010): undefined reference to `uirs232_c128_submenu'
    collect2: error: ld returned 1 exit status
    make[3]: *** [x128] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all] Error 2
    make: *** [all-recursive] Error 1

     
  • gpz

    gpz - 2013-02-27

    mmh, this should not happen... please have a look if HAVE_RS232 is defined in config.h and perhaps try a clean build

     
  • Moiree

    Moiree - 2013-02-27

    Perhaps move the #ifdef HAVE_RS232 below #include "vice.h" so config.h actually
    gets included.

    ---snip---

    Index: src/arch/unix/gui/uirs232.c

    --- src/arch/unix/gui/uirs232.c (revision 27290)
    +++ src/arch/unix/gui/uirs232.c (working copy)
    @@ -25,10 +25,10 @@
    *
    */

    +#include "vice.h"
    +
    #ifdef HAVE_RS232

    -#include "vice.h"
    -
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    @@ -130,4 +130,4 @@
    uilib_select_file((char *)UI_MENU_CB_PARAM, _("File to dump RS232 to"), UILIB_FILTER_ALL);
    }

    -#endif
    \ No newline at end of file
    +#endif
    Index: src/arch/unix/gui/uirs232user.c
    ===================================================================
    --- src/arch/unix/gui/uirs232user.c (revision 27290)
    +++ src/arch/unix/gui/uirs232user.c (working copy)
    @@ -25,10 +25,10 @@
    *
    */

    +#include "vice.h"
    +
    #ifdef HAVE_RS232

    -#include "vice.h"
    -
    #include <stdio.h>

    #include "uimenu.h"
    Index: src/arch/unix/gui/uirs232petplus4cbm2.c
    ===================================================================
    --- src/arch/unix/gui/uirs232petplus4cbm2.c (revision 27290)
    +++ src/arch/unix/gui/uirs232petplus4cbm2.c (working copy)
    @@ -25,10 +25,10 @@
    *
    */

    +#include "vice.h"
    +
    #ifdef HAVE_RS232

    -#include "vice.h"
    -
    #include <stdio.h>

    #include "uiacia1.h"
    Index: src/arch/unix/gui/uirs232c64c128.c
    ===================================================================
    --- src/arch/unix/gui/uirs232c64c128.c (revision 27290)
    +++ src/arch/unix/gui/uirs232c64c128.c (working copy)
    @@ -25,10 +25,10 @@
    *
    */

    +#include "vice.h"
    +
    #ifdef HAVE_RS232

    -#include "vice.h"
    -
    #include <stdio.h>

    #include "uiacia1.h"
    Index: src/arch/unix/gui/c64ui.c
    ===================================================================
    --- src/arch/unix/gui/c64ui.c (revision 27290)
    +++ src/arch/unix/gui/c64ui.c (working copy)
    @@ -640,6 +640,7 @@
    { N_("I/O extensions"), UI_MENU_TYPE_NORMAL,
    NULL, NULL, io_extensions_submenu },
    #ifdef HAVE_RS232
    +
    { N_("RS232 settings"), UI_MENU_TYPE_NORMAL,
    NULL, NULL, uirs232_c64_submenu },
    #endif

     
  • gpz

    gpz - 2013-02-27

    uaaa =) i blame lack of sleep =) fixed in trunk :)

     
  • Robert Hurst

    Robert Hurst - 2013-02-28
    • status: pending-fixed --> closed-fixed
     
  • Robert Hurst

    Robert Hurst - 2013-02-28

    I can confirm this is working without the warnings, thanks.

     

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

Sign up for the SourceForge newsletter:





No, thanks