Menu

#35 Compile Failure Slackware-current

open
nobody
5
2024-11-15
2024-05-22
Chris
No

Compile fails on slackware-current:

g++ -DHAVE_CONFIG_H -I. -I../../.. -g -O2 -MT mail_screen.o -MD -MP -MF .deps/mail_screen.Tpo -c -o mail_screen.o mail_screen.cc
mail_screen.cc: In function ‘void init_main_screen()’:
mail_screen.cc:39:16: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
39 | maxx = stdscr->_maxx;
| ^~
In file included from mail_screen.cc:13:
/usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
456 | typedef struct _win_st WINDOW;
| ^~~~~~~
mail_screen.cc:40:16: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
40 | maxy = stdscr->_maxy;
| ^~
/usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
456 | typedef struct _win_st WINDOW;
| ^~~~~~~
mail_screen.cc: In function ‘void redraw()’:
mail_screen.cc:70:15: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
70 | main_window->_clear = TRUE;
| ^~
/usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
456 | typedef struct _win_st WINDOW;
| ^~~~~~~
make[4]: *** [Makefile:312: mail_screen.o] Error 1
make[4]: Leaving directory '/home/chris/tmp/linpac-0.28/src/applications/mailer'
make[3]: *** [Makefile:672: all-recursive] Error 1
make[3]: Leaving directory '/home/chris/tmp/linpac-0.28/src/applications'
make[2]: *** [Makefile:423: all-recursive] Error 1
make[2]: Leaving directory '/home/chris/tmp/linpac-0.28/src'
make[1]: *** [Makefile:348: all-recursive] Error 1
make[1]: Leaving directory '/home/chris/tmp/linpac-0.28'
make: *** [Makefile:257: all] Error 2

Related

Bugs: #35

Discussion

  • David Ranch

    David Ranch - 2024-05-22

    Hello Chris, where did you get your Linpac source code? From the SourceForge .tar.gz file (master branch), from the Git Master branch, or the Git Develop Branch? Please try the Develop branch from Git at https://sourceforge.net/p/linpac/linpac/ci/develop/tree/ and let us know if that works.

     
    • Chris

      Chris - 2024-05-22

      Nope -- still fails. Had to do the autoreconf bit too. That was a
      first for me. Here is the output:

      g++ -DHAVE_CONFIG_H -I. -I../../.. -g -O2 -MT mail_screen.o -MD
      -MP -MF .deps/mail_screen.Tpo -c -o mail_screen.o mail_screen.cc
      mail_screen.cc: In function ‘void init_main_screen()’:
      mail_screen.cc:39:16: error: invalid use of incomplete type ‘WINDOW’
      {aka ‘struct _win_st’}
      39 | maxx = stdscr->_maxx;
      | ^~
      In file included from mail_screen.cc:13:
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’
      {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      mail_screen.cc:40:16: error: invalid use of incomplete type ‘WINDOW’
      {aka ‘struct _win_st’}
      40 | maxy = stdscr->_maxy;
      | ^~
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’
      {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      mail_screen.cc: In function ‘void redraw()’:
      mail_screen.cc:70:15: error: invalid use of incomplete type ‘WINDOW’
      {aka ‘struct _win_st’}
      70 | main_window->_clear = TRUE;
      | ^~
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’
      {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      make[4]: *** [Makefile:440: mail_screen.o] Error 1
      make[4]: Leaving directory
      '/home/chris/tmp/linpac-linpac/src/applications/mailer'
      make[3]: *** [Makefile:839: all-recursive] Error 1
      make[3]: Leaving directory '/home/chris/tmp/linpac-linpac/src/applications'
      make[2]: *** [Makefile:568: all-recursive] Error 1
      make[2]: Leaving directory '/home/chris/tmp/linpac-linpac/src'
      make[1]: *** [Makefile:466: all-recursive] Error 1
      make[1]: Leaving directory '/home/chris/tmp/linpac-linpac'
      make: *** [Makefile:377: all] Error 2

      On Wed, May 22, 2024 at 8:29 AM David Ranch
      dranch@users.sourceforge.net wrote:

      Hello Chris, where did you get your Linpac source code? From the SourceForge .tar.gz file (master branch), from the Git Master branch, or the Git Develop Branch? Please try the Develop branch from Git at https://sourceforge.net/p/linpac/linpac/ci/develop/tree/ and let us know if that works.


      [bugs:#35] Compile Failure Slackware-current

      Status: open
      Group:
      Labels: compile time fail slackware-current
      Created: Wed May 22, 2024 01:42 PM UTC by Chris
      Last Updated: Wed May 22, 2024 01:42 PM UTC
      Owner: nobody

      Compile fails on slackware-current:

      g++ -DHAVE_CONFIG_H -I. -I../../.. -g -O2 -MT mail_screen.o -MD -MP -MF .deps/mail_screen.Tpo -c -o mail_screen.o mail_screen.cc
      mail_screen.cc: In function ‘void init_main_screen()’:
      mail_screen.cc:39:16: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
      39 | maxx = stdscr->_maxx;
      | ^~
      In file included from mail_screen.cc:13:
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      mail_screen.cc:40:16: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
      40 | maxy = stdscr->_maxy;
      | ^~
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      mail_screen.cc: In function ‘void redraw()’:
      mail_screen.cc:70:15: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
      70 | main_window->_clear = TRUE;
      | ^~
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      make[4]: *** [Makefile:312: mail_screen.o] Error 1
      make[4]: Leaving directory '/home/chris/tmp/linpac-0.28/src/applications/mailer'
      make[3]: *** [Makefile:672: all-recursive] Error 1
      make[3]: Leaving directory '/home/chris/tmp/linpac-0.28/src/applications'
      make[2]: *** [Makefile:423: all-recursive] Error 1
      make[2]: Leaving directory '/home/chris/tmp/linpac-0.28/src'
      make[1]: *** [Makefile:348: all-recursive] Error 1
      make[1]: Leaving directory '/home/chris/tmp/linpac-0.28'
      make: *** [Makefile:257: all] Error 2


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linpac/bugs/35/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      --
      Thanks,
      Chris Maness

       

      Related

      Bugs: #35

  • Christian Breitbarth

    This same issue has popped up for me as well, was there any resolution to this issue?

     
  • David Ranch

    David Ranch - 2024-11-15

    Ok.. after two fun packed days dealing with Slackware's rather weak installer, I was able to spin up a Slackware 15.0 VM, compile/install the VE7FET AX,25 repo and compile/install Linpac 0.29 (develop branch). I then upgraded/replaced the OS to Slackware-current, got it fully updated and again, was able to fully compile/install the VE7FET AX,25 repo (required some minor ncurses hacks), and compile/install Linpac 0.29 (develop branch). Please confirm if you're still seeing this issue.. if not, please close this ticket.

     
    • Chris

      Chris - 2024-11-16

      Maybe over my Thanksgiving break coming up. I am pretty impacted with
      work right now.

      -73 de Chris KQ6UP

      On Fri, Nov 15, 2024 at 3:48 PM David Ranch
      dranch@users.sourceforge.net wrote:

      Ok.. after two fun packed days dealing with Slackware's rather weak installer, I was able to spin up a Slackware 15.0 VM, compile/install the VE7FET AX,25 repo and compile/install Linpac 0.29 (develop branch). I then upgraded/replaced the OS to Slackware-current, got it fully updated and again, was able to fully compile/install the VE7FET AX,25 repo (required some minor ncurses hacks), and compile/install Linpac 0.29 (develop branch). Please confirm if you're still seeing this issue.. if not, please close this ticket.


      [bugs:#35] Compile Failure Slackware-current

      Status: open
      Group:
      Labels: compile time fail slackware-current
      Created: Wed May 22, 2024 01:42 PM UTC by Chris
      Last Updated: Thu Nov 14, 2024 05:09 PM UTC
      Owner: nobody

      Compile fails on slackware-current:

      g++ -DHAVE_CONFIG_H -I. -I../../.. -g -O2 -MT mail_screen.o -MD -MP -MF .deps/mail_screen.Tpo -c -o mail_screen.o mail_screen.cc
      mail_screen.cc: In function ‘void init_main_screen()’:
      mail_screen.cc:39:16: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
      39 | maxx = stdscr->_maxx;
      | ^~
      In file included from mail_screen.cc:13:
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      mail_screen.cc:40:16: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
      40 | maxy = stdscr->_maxy;
      | ^~
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      mail_screen.cc: In function ‘void redraw()’:
      mail_screen.cc:70:15: error: invalid use of incomplete type ‘WINDOW’ {aka ‘struct _win_st’}
      70 | main_window->_clear = TRUE;
      | ^~
      /usr/include/curses.h:456:16: note: forward declaration of ‘WINDOW’ {aka ‘struct _win_st’}
      456 | typedef struct _win_st WINDOW;
      | ^~~~~~~
      make[4]: *** [Makefile:312: mail_screen.o] Error 1
      make[4]: Leaving directory '/home/chris/tmp/linpac-0.28/src/applications/mailer'
      make[3]: *** [Makefile:672: all-recursive] Error 1
      make[3]: Leaving directory '/home/chris/tmp/linpac-0.28/src/applications'
      make[2]: *** [Makefile:423: all-recursive] Error 1
      make[2]: Leaving directory '/home/chris/tmp/linpac-0.28/src'
      make[1]: *** [Makefile:348: all-recursive] Error 1
      make[1]: Leaving directory '/home/chris/tmp/linpac-0.28'
      make: *** [Makefile:257: all] Error 2


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linpac/bugs/35/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      --
      Thanks,
      Chris Maness

       

      Related

      Bugs: #35


Log in to post a comment.

MongoDB Logo MongoDB