Move to gcc 3.3.1 was not a good idea
Hi: I am developing an accounting system using wxGTK 2.4.1 compiled from source. Using the system installed from SuSE 8.2 CD's worked fine, except that the program exited with a segment violation message. This did not happen on another development box running LM 9.0. I was advised to upgrade gcc to 3.3.1 version, which is the one available from SuSE site. I am also running RH 6.2 using UML-Linux on this same box, which I use to do a release RPM version of the accounting system. The compiled software using RH 6.2 does not exhibit the segment violation problem. Something went wrong, because now I can not link my program to the wxGTK library, even though I recompiled it with the new gcc 3.3.1. I have a deadline to meet, and must go on with my work. I wonder if someone could advise as to the best way to return my system to its original state. I tried reinstalling the packages that were upgraded, but did not work. And I can't do a reinstall because many packages, including a Win4Lin setup, user-mode-linux, etc., have been installed since. Any ideas would be appreciated. Thank you. -- Alfredo J. Cole http://www.acyc.com http://www.clshonduras.com
Alfredo Cole
Something went wrong, because now I can not link my program to the wxGTK library, even though I recompiled it with the new gcc 3.3.1.
My crystal ball is out for repair, so you'll have to give a bit more info. What exactly fails (complete command line as issued by make)? What error message(s) do you get? Philipp
El Martes, 26 de Agosto de 2003 17:26, Philipp Thomas escribió:
Alfredo Cole
[Tue, 26 Aug 2003 16:24:12 -0600]: Something went wrong, because now I can not link my program to the wxGTK library, even though I recompiled it with the new gcc 3.3.1.
My crystal ball is out for repair, so you'll have to give a bit more info. What exactly fails (complete command line as issued by make)? What error message(s) do you get?
Philipp
You are right. Here is the final link phase command and results: /bin/sh ../libtool --mode=link ccache c++ -Wno-deprecated -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wparentheses -Wpointer-arith -Wmissing-prototypes -g -o acyc7 --static -L/usr/lib/mysql/ -L/usr/lib/ utExportBa.o afijo_wdr.o bancos_wdr.o caja_wdr.o cbErPorCentro.o cbSinCuenta.o cbdiario.o consolida_wdr.o contab_wdr.o csBalGral.o csCatalogo.o csEsRes.o cxc_wdr.o cxp_wdr.o estadcosto.o estadgerencia.o impresora.o inTraslado.o incxv.o inlistainv.o inpartida.o inv2_wdr.o inv_wdr.o invenporprod.o invxc.o invxv.o keylok.o listareqaju.o misc.o operadores_wdr.o pcCaptaDatos.o pcostos_wdr.o planillas_wdr.o plpartida.o selectfacts.o tpaf.o tpbanco.o tpcaja.o tpcontab.o tpcxc.o tpcxp.o tpinv.o tpopera.o tpplan.o tputil.o utExportCb.o utExport_wdr.o utSelectArtInv.o utSelectArtInv_wdr.o utSelectCta.o utSelectCta_wdr.o util_wdr.o verificaNivel.o wxtruepos.o wxtruepos_wdr.o incTiempoRep.o incompras_wdr.o incTRlistar.o incCostoMante.o grInicio.o genrep_wdr.o grSelect.o grCrearPag1.o cpMantPag.o cxpManPag_wdr.o utSelectCPFactura.o utSelectCPFactura_wdr.o utSelectCPPais.o utSelectCPPais_wdr.o utSelectCPProveedor.o utSelectCPProveedor_wdr.o utSelectCPSector.o utSelectCPSector_wdr.o incCostoOrden.o inSelTras.o inOpeTras.o inPedidos.o inOrdenCompra.o utSelectPCostoFactura.o utSelectPCostoFactura_wdr.o inFormaFact.o scCosArtEns.o scCosArtEns_wdr.o utSelectMas.o inListaPrecios.o utVerExist.o utSelectCliente.o utSelectCliente_wdr.o inListFis.o inDiferFis.o inDevolucion.o inSelFact.o inCreaArtBod.o inReOpera.o inImpCaja.o inSelReq.o inKardex.o inv3_wdr.o inPasaFactCxC.o inListaTras.o ccManCliEstCue.o ccManCliEstCue_wdr.o inCotizacion.o cbConsolida.o inRecosto.o otManoObra.o otrabajo_wdr.o -pthread -lwx_gtkd-2.4 -lxbase -lfixed -lmysqlclient -lkeylok ccache c++ -Wno-deprecated -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wparentheses -Wpointer-arith -Wmissing-prototypes -g -o acyc7 --static utExportBa.o afijo_wdr.o bancos_wdr.o caja_wdr.o cbErPorCentro.o cbSinCuenta.o cbdiario.o consolida_wdr.o contab_wdr.o csBalGral.o csCatalogo.o csEsRes.o cxc_wdr.o cxp_wdr.o estadcosto.o estadgerencia.o impresora.o inTraslado.o incxv.o inlistainv.o inpartida.o inv2_wdr.o inv_wdr.o invenporprod.o invxc.o invxv.o keylok.o listareqaju.o misc.o operadores_wdr.o pcCaptaDatos.o pcostos_wdr.o planillas_wdr.o plpartida.o selectfacts.o tpaf.o tpbanco.o tpcaja.o tpcontab.o tpcxc.o tpcxp.o tpinv.o tpopera.o tpplan.o tputil.o utExportCb.o utExport_wdr.o utSelectArtInv.o utSelectArtInv_wdr.o utSelectCta.o utSelectCta_wdr.o util_wdr.o verificaNivel.o wxtruepos.o wxtruepos_wdr.o incTiempoRep.o incompras_wdr.o incTRlistar.o incCostoMante.o grInicio.o genrep_wdr.o grSelect.o grCrearPag1.o cpMantPag.o cxpManPag_wdr.o utSelectCPFactura.o utSelectCPFactura_wdr.o utSelectCPPais.o utSelectCPPais_wdr.o utSelectCPProveedor.o utSelectCPProveedor_wdr.o utSelectCPSector.o utSelectCPSector_wdr.o incCostoOrden.o inSelTras.o inOpeTras.o inPedidos.o inOrdenCompra.o utSelectPCostoFactura.o utSelectPCostoFactura_wdr.o inFormaFact.o scCosArtEns.o scCosArtEns_wdr.o utSelectMas.o inListaPrecios.o utVerExist.o utSelectCliente.o utSelectCliente_wdr.o inListFis.o inDiferFis.o inDevolucion.o inSelFact.o inCreaArtBod.o inReOpera.o inImpCaja.o inSelReq.o inKardex.o inv3_wdr.o inPasaFactCxC.o inListaTras.o ccManCliEstCue.o ccManCliEstCue_wdr.o inCotizacion.o cbConsolida.o inRecosto.o otManoObra.o otrabajo_wdr.o -pthread -L/usr/lib/mysql/ -L/usr/lib/ -lwx_gtkd-2.4 /usr/lib/libxbase.so -lfixed /usr/lib/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lm -lkeylok -Wl,--rpath -Wl,/usr/lib/mysql -Wl,--rpath -Wl,/usr/lib/mysql /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lwx_gtkd-2.4 collect2: ld returned 1 exit status make: *** [acyc7] Error 1 I also have a Toshiba notebook, running SuSE 8.2, and the project compiles and links Ok. It's saving my life in the meantime. All tools are the same, except for gcc. It's using gcc 3.3-43. Thank you. -- Alfredo J. Cole http://www.acyc.com http://www.clshonduras.com
participants (2)
-
Alfredo Cole
-
Philipp Thomas