From: Jean-Charles Jorel[SMTP:jjorel@silr.ireste.fr] Sent: 27 May 1996 05:32 To: Julian Smart Cc: wxwinusers Subject: wx1.66 on HP 9000! Hello Julian, here a little bug report on compiling wx1.66B on hppa1.1-hp-hpux9.05 (HP900 series) I use wxshlib166-9.tgz and i had some problems: - Pb #1 ======= In compile of wxbuild_motif: At link stage: -lwxtree_motif -L../../../lib -lwxtree_motif -lwx_motif -lXpm -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -lXt -lX11 -lXmu -lXext -lm The 'configure' script make reference to a lib '-lwxtree_motif' before set the correct lib path '-L../../../lib'. Hummm! HP Compiler complains about this! It doesn't like it at all!! - Pb #2 ======= libXmu.a not found on HP! :) Please remove it from the configure script!!! On HP, since Xmu doexn't exist, wxComboBox can't compile!! I made this to avoid the pb: $ echo >obj/obj_motif/combobox.o Ah Hummm! Yes, it's not very smart (Julian Smart! Ah Ah Ah :) ) but it works!! - Pb #3 ======= alloca & main unsatisfied symbols... wb_main.h: 28: added wxEntry( int, char **); before IMPLEMENT_WXWIN_MAIN macro. If not, Compiler complain that it don't know wxEntry(...). It's Ok now!! wxString use 'alloca' that doesn't exist on my HP! - Pb #4: ======== HP don't know anything about this: wx_utils.cc: 200: and IO_HOSTNAME is not define... So, i fall down in BSD mode and not in SVR4 mode and it's ok now... - Pb #5: ======== Don't use the -Aa option with the C compiler! It makes strange error output troubles when compiling contrib/xmgauge/gauge.o GOOD TIP: ========= With the standard autoconf made by wxshlib-9, wx compile ok but you need to add an IMPLEMENT_WXWIN_MAIN in all your apps! And, at runtime, app complains that 'You must define an instance of wxApp!' Hummmmmmmmmmmmmmm!!!! :( I solved the problem by compiling wx and app with these options: +a1 -Aa -z for CC compiler and -z option only for the cc compiler, and..... All works fine!!! You don't need to add IMPLEMENT_WXWIN_MAIN macro in your app!!!! and at run time, it's fine!! I wish that helps someone... Best Regards, -- ----------------------------------------------------------------------------- ** silr.ireste.fr network administrator ** I.R.E.S.T.E Jorel Jean-Charles || mailto:jjorel@silr.ireste.fr 97, Rue d'Allonville || http://193.52.86.18 (My School Home page) 44000 NANTES ** FRANCE || http://193.52.86.18/home/sysop/jjorel/www/home.html Tel: (+33) 51.81.92.33 (Voice, Fax, Data at the same time!) -----------------------------------------------------------------------------