dbTalk Databases Forums  

Anyone know how to compile ScarletDME (QM) on 64 bit Ubuntu

comp.databases.pick comp.databases.pick


Discuss Anyone know how to compile ScarletDME (QM) on 64 bit Ubuntu in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
exep
 
Posts: n/a

Default Anyone know how to compile ScarletDME (QM) on 64 bit Ubuntu - 01-24-2011 , 11:00 AM






Ubuntu 10.04 LTS - got it working by installing the debian package once
Would prefer to have it compiling - no idea how - I know there is 32 bit
compile support within Linux - Is it 32 bit - does it matter? - Just won't
compile on 64 bit.

qmsrc_2-6-6.tgz - compiles fine on 32 bit Ubuntu (according to rush flat
insructions).

ty.

Reply With Quote
  #2  
Old   
exep
 
Posts: n/a

Default Re: Anyone know how to compile ScarletDME (QM) on 64 bit Ubuntu - 01-24-2011 , 11:47 AM






closer by installing

libc6-dev-i386

and putting compiler option gcc -m32 into the shell script 'buildgpl' as
such

QM_GCC_OPTIONS="-m32 -Wall -DLINUX -D_FILE_OFFSET_BITS=64 -DGPL -g"

but no bin/qm created --

"./buildgpl" output -->

it appears to compile, but not to link

ls /qmsys/bin returns:

~/gpl.qmsys/bin$ ls
pcode qmclilib.o qmconv qmfix qmidx qmlnxd qmtic


../buildgpl
===== Stage 1 =====
Building C program modules...
qm
analyse
b64
clopts
config
ctype
dh_ak
dh_clear
dh_close
dh_creat
dh_del
dh_exist
dh_file
dh_hash
dh_misc
dh_open
dh_read
dh_selct
dh_split
dh_write
ingroup
inipath
kernel
k_error
gplsrc/k_error.c: In function ‘k_error’:
gplsrc/k_error.c:246: warning: format not a string literal and no format
arguments
k_funcs
linuxio
linuxlb
linuxprt
lnx
lnxport
messages
netfiles
object
objprog
op_arith
op_array
op_btree
op_ccall
op_chnge
op_config
gplsrc/op_config.c: In function ‘op_pconfig’:
gplsrc/op_config.c:311: warning: ‘str’ may be used uninitialized in this
function
op_debug
op_dio1
op_dio2
op_dio3
op_dio4
op_exec
op_find
op_iconv
op_jumps
op_kernel
op_loads
op_locat
op_lock
op_logic
op_misc
gplsrc/op_misc.c: In function ‘op_umask’:
gplsrc/op_misc.c:1609: warning: ‘n’ may be used uninitialized in this
function
op_mvfun
op_oconv
op_seqio
op_sh
op_skt
gplsrc/op_skt.c: In function ‘op_accptskt’:
gplsrc/op_skt.c:158: warning: pointer targets in passing argument 3 of
‘accept’ differ in signedness
/usr/include/sys/socket.h:214: note: expected ‘socklen_t * __restrict__’
but argument is of type ‘int *’
gplsrc/op_skt.c:168: warning: pointer targets in passing argument 3 of
‘getpeername’ differ in signedness
/usr/include/sys/socket.h:133: note: expected ‘socklen_t * __restrict__’
but argument is of type ‘int *’
gplsrc/op_skt.c:172: warning: pointer targets in passing argument 3 of
‘getsockname’ differ in signedness
/usr/include/sys/socket.h:119: note: expected ‘socklen_t * __restrict__’
but argument is of type ‘int *’
gplsrc/op_skt.c: In function ‘op_sktinfo’:
gplsrc/op_skt.c:594: warning: pointer targets in passing argument 5 of
‘getsockopt’ differ in signedness
/usr/include/sys/socket.h:190: note: expected ‘socklen_t * __restrict__’
but argument is of type ‘int *’
gplsrc/op_skt.c:602: warning: pointer targets in passing argument 5 of
‘getsockopt’ differ in signedness
/usr/include/sys/socket.h:190: note: expected ‘socklen_t * __restrict__’
but argument is of type ‘int *’
op_sort
op_stop
op_str1
op_str2
op_str3
op_str4
op_str5
op_sys
op_tio
pdump
qmlib
qmsem
qmtermlb
reccache
strings
sysdump
sysseg
telnet
time
to_file
txn

===== Stage 2 =====
Linking qm
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: i386 architecture of input file `gplobj/qm.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/analyse.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/b64.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/clopts.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/config.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/ctype.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_ak.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_clear.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_close.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_creat.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_del.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_exist.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_file.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_hash.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_misc.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_open.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_read.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_selct.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_split.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/dh_write.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/ingroup.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/inipath.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/kernel.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/k_error.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/k_funcs.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/linuxio.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/linuxlb.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/linuxprt.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/lnx.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/lnxport.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/messages.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/netfiles.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/object.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/objprog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_arith.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_array.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_btree.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_ccall.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_chnge.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_config.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_debug.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_dio1.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_dio2.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_dio3.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_dio4.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_exec.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_find.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_iconv.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_jumps.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_kernel.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_loads.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_locat.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_lock.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_logic.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_misc.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_mvfun.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_oconv.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_seqio.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_sh.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_skt.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_sort.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_stop.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_str1.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_str2.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_str3.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_str4.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_str5.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_sys.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/op_tio.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/pdump.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/qmlib.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/qmsem.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/qmtermlb.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/reccache.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/strings.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/sysdump.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/sysseg.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/telnet.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/time.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/to_file.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `gplobj/txn.o' is
incompatible with i386:x86-64 output

===== Stage 3 =====
Building qmclilib.o and qmclilib.so
/usr/bin/ld: i386 architecture of input file `gplobj/qmclilib.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: final link failed: No space left on device
collect2: ld returned 1 exit status
cp: cannot stat `gplobj/qmclilib.so': No such file or directory

===== Stage 4 =====
Building qmtic

===== Stage 5 =====
Building qmfix

===== Stage 6 =====
Building qmconv

===== Stage 7 =====
Building qmidx

===== Stage 8 =====
Building qmlnxd

===== Stage 9 =====
Compiling terminfo library
mkdir: cannot create directory `terminfo': File exists
#[ QMTIC 2.6-6 Copyright, Ladybridge Systems, 2007. All rights
reserved. ]

Reply With Quote
  #3  
Old   
Gene Buckle
 
Posts: n/a

Default Re: Anyone know how to compile ScarletDME (QM) on 64 bit Ubuntu - 01-25-2011 , 12:39 PM



To: exep
exep wrote:
Quote:
From Newsgroup: comp.databases.pick

closer by installing

/usr/bin/ld: i386 architecture of input file `gplobj/analyse.o' is
incompatible with i386:x86-64 output
You need to make sure that your system isn't using 64 bit compile & link options
by default. I've never built either QM266 or ScarletDME as a 64 bit application.
I don't know what results you'd get even if you got a clean compile & link.

g.
--- Synchronet 3.15a-Win32 NewsLink 1.91
The Retro Archive - telnet://bbs.retroarchive.org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.