v4.2-build2000 won't compile

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

v4.2-build2000 won't compile

Postby manicmike » Mon Sep 21, 2009 2:17 am

Hi there,

Here's the last few lines of output:
Code: Select all
make[2]: Entering directory `/home/mike/Desktop/oss/cmd/ossmixd'
cc -O  -L../../target/lib -lossmix -s -o ../../target/sbin/ossmixd ./ossmixd.o
/usr/bin/ld: ../../target/sbin/ossmixd: hidden symbol `__stack_chk_fail_local' in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[2]: *** [../../target/sbin/ossmixd] Error 1
make[2]: Leaving directory `/home/mike/Desktop/oss/cmd/ossmixd'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/mike/Desktop/oss/cmd'
make: *** [subdirs] Error 1


I'm building in a different directory to the source, and have attempted the LD=cc 'fix' that someone mentioned somewhere.

Any ideas? It's 32 bit X86 Ubuntu (9.04) with libtool installed.
manicmike
New Member
 
Posts: 2
Joined: Mon Sep 21, 2009 2:14 am

Re: v4.2-build2000 won't compile

Postby Temüjin » Mon Sep 21, 2009 2:34 am

Is this the source from mercurial or the stable release tarball? If the latter, you may need a patch: http://mercurial.opensound.com/?rev/0bd0ed4d102c
Temüjin
Member
 
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Re: v4.2-build2000 won't compile

Postby manicmike » Mon Sep 21, 2009 2:51 am

Temüjin wrote:Is this the source from mercurial or the stable release tarball? If the latter, you may need a patch: http://mercurial.opensound.com/?rev/0bd0ed4d102c


VERY quick response! I deleted the build dir, disabled an option (--enable-libsalsa=NO) and built as root and it worked.

Thanks
Mike
manicmike
New Member
 
Posts: 2
Joined: Mon Sep 21, 2009 2:14 am


Return to Linux

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron