wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.75k stars 1.69k forks source link

Missing symbols in library for Linux-Alpha build. #19447

Closed wxtrac closed 2 years ago

wxtrac commented 23 years ago

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.

wxtrac commented 23 years ago

2000-11-26 00:19:27: @vadz commented


116047