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
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.
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:
--
Thanks,
Chris Maness
Related
Bugs: #35
This same issue has popped up for me as well, was there any resolution to this issue?
Hello Christian, are you sure you are using the DEVELOP branch? This issue should have been fixed back in Dec 31, 2023.
https://sourceforge.net/p/linpac/linpac/ci/5edcba8fda38b7735b91d7901750008aa228152c/
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.
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:
--
Thanks,
Chris Maness
Related
Bugs: #35