I have some slightly modified code, and have included my working notes below, a few tips though, use a version 3.x of the gcc compiler thats the only way i get non segfaulting binaries, before u compile export/setenv (depending on your shell) CC="gcc-3.x.x -m32", most versions of linux i know still support some version of the 3.x compiler. The "-m32" flag is also a must I cannot get a stable 64bit binary. My compiled qm, qltools and qxltool all work perfectly compiled as 32bit binaries under my gcc3.3.6 on my Mandriva 2010.2 64bit OS. I included a tarball of the source i use but it was too big for the QL mailing list, can send it direct to your email if u like, otherwise if u know where i can upload it i can do that :)
Vince Pisciotta WORKING NOTES: PROGRESS 20110225 =========================================================================== modified 20080104 source tree; changes to Makefile to use $(CC) consistently, change IMPL destination to $(HOME)/uqlx/binaries unixstuff.c: commented out line 1504: // if (V4) V4 not defined line removed vpisciot 20110212 change to scripts in general to force 32bit compile on 64 bit architecture as this was found to be more reliable removed "-fgcse-after-reload" switch from "XOPTS=" line as it caused problems with 32bit compile force make scripts to look for version 3.x of gcc compile, still can't get it to work under 4.4.x variants python gui for launching uQLx + building a complete .uqlxrc config file =========================================================================== x.c line 590 rram = (RTOP - 131072)/1024; sprintf(win_name,"QL - %s, %dK",QMD.sysrom,rram); version.c changes char *release="2010-02-25"; char *uqlx_version="0.81"; unixstuff.s line 880 commented out, //char *uqlx_version="0.00"; **do this in version.c On Fri, 25 Feb 2011 09:09:58 Tobias Fröschle wrote: > Am Donnerstag, den 24.02.2011, 13:21 -0600 schrieb Mark Martin: > > Does anyone have any patched source more recent than the publicly > > available source for uQLX at sourceforge? I've pulled that down and > > built for x64 ubuntu with GCC 4. I've fixed some trivial compilation > > issues as I went, but haven't spent more than 1 hour doing this -- > > ending up with a non-working build (SEGFAULT partway after startup). > > Has anyone done any recent compilation of uQLX? > > > > Ultimately, I'd like to prepare debian packages for x86, x64, and ARM > > distributions. > > _______________________________________________ > > QL-Users Mailing List > > http://www.q-v-d.demon.co.uk/smsqe.htm > > Mark, > try here if your spanish (or babelfish) is good enough: > http://www.speccy.org/foro/viewtopic.php?f=15&t=720 > The uqlx version I use (binary only) comes from the link in this thread > and works perfectly on a recent Ubuntu. > > Cheers, > Tobias > > _______________________________________________ > QL-Users Mailing List > http://www.q-v-d.demon.co.uk/smsqe.htm _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm