Building wxGTK-2.2.2 on a Linux-Alpha system (Redhat 6.2).
Configure with ./configure --with-gtk
Library appears to build correctly.
Then cd to demos/, ./configure and make.
c++ -o bombs bombs.o bombs1.o game.o ../../lib/libwx_gtk-2.2.so.0.2.1 -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 -lm -ldl -lpthread -lm
../../lib/libwx_gtk-2.2.so.0.2.1: undefined reference to `PROIO_yywrap'
collect2: ld returned 1 exit status
make[1]: *** [bombs] Error 1
In the original tar file I see that a copy of lexer.c is already present. So I removed that and rebuilt, with a similar result.
It appears that the problem might be at line 1071 of parser.c,
/ At least on alphaev6-dec-osf4.0e PROIO_yywrap() must be #define'd /
if defined( ALPHA ) && !defined( VMS )
ifndef PROIO_yywrap
define PROIO_yywrap() 1
endif
Could it be that ALPHA is defined, even though it isn't an osf4 system?
I'm sorry, but I haven't yet figured out what the PROIO_ stuff is for, and can't quite see my way through a maze of
defines and sed scripts yet. I will try some hacks to narrow this down.
Issue migrated from trac ticket # 82
component: build | priority: normal
2000-11-10 23:02:27: iankay created the issue
Building wxGTK-2.2.2 on a Linux-Alpha system (Redhat 6.2). Configure with ./configure --with-gtk Library appears to build correctly.
Then cd to demos/, ./configure and make.
c++ -o bombs bombs.o bombs1.o game.o ../../lib/libwx_gtk-2.2.so.0.2.1 -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 -lm -ldl -lpthread -lm
../../lib/libwx_gtk-2.2.so.0.2.1: undefined reference to `PROIO_yywrap' collect2: ld returned 1 exit status make[1]: *** [bombs] Error 1
In the original tar file I see that a copy of lexer.c is already present. So I removed that and rebuilt, with a similar result.
It appears that the problem might be at line 1071 of parser.c, / At least on alphaev6-dec-osf4.0e PROIO_yywrap() must be #define'd /
if defined( ALPHA ) && !defined( VMS )
ifndef PROIO_yywrap
define PROIO_yywrap() 1
endif
Could it be that ALPHA is defined, even though it isn't an osf4 system?
I'm sorry, but I haven't yet figured out what the PROIO_ stuff is for, and can't quite see my way through a maze of defines and sed scripts yet. I will try some hacks to narrow this down.