LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-04-2013, 06:29 PM   #1
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch
Posts: 130

Rep: Reputation: 15
kyotocabinet (1.2.76) Sbo and Slackware Current


If I run the script, got these error:
Code:
ar: creating libkyotocabinet.a
a - kcutil.o
a - kcthread.o
a - kcfile.o
a - kccompress.o
a - kccompare.o
a - kcmap.o
a - kcregex.o
a - kcdb.o
a - kcplantdb.o
a - kcprotodb.o
a - kcstashdb.o
a - kccachedb.o
a - kchashdb.o
a - kcdirdb.o
a - kctextdb.o
a - kcpolydb.o
a - kcdbext.o
a - kclangc.o
if uname -a | egrep -i 'SunOS' > /dev/null ; \
  then \
    g++ -march=native -O2 -march=i486 -mtune=i686 -Wall -fPIC -fsigned-char -g0 -O2 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -shared -Wl,-G,-h,libkyotocabinet.so.16 -o libkyotocabinet.so.16.13.0 \
      kcutil.o kcthread.o kcfile.o kccompress.o kccompare.o kcmap.o kcregex.o kcdb.o kcplantdb.o kcprotodb.o kcstashdb.o kccachedb.o kchashdb.o kcdirdb.o kctextdb.o kcpolydb.o kcdbext.o kclangc.o -L. -L/usr/lib -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed -lz -lstdc++ -lrt -lpthread -lm -lc  ; \
  else \
    g++ -march=native -O2 -march=i486 -mtune=i686 -Wall -fPIC -fsigned-char -g0 -O2 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -shared -Wl,-soname,libkyotocabinet.so.16 -o libkyotocabinet.so.16.13.0 \
      kcutil.o kcthread.o kcfile.o kccompress.o kccompare.o kcmap.o kcregex.o kcdb.o kcplantdb.o kcprotodb.o kcstashdb.o kccachedb.o kchashdb.o kcdirdb.o kctextdb.o kcpolydb.o kcdbext.o kclangc.o -L. -L/usr/lib -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed -lz -lstdc++ -lrt -lpthread -lm -lc  ; \
  fi
ln -f -s libkyotocabinet.so.16.13.0 libkyotocabinet.so.16
ln -f -s libkyotocabinet.so.16.13.0 libkyotocabinet.so
g++ -c -I. -I/usr/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__ -D_MYZLIB -D_MYGCCATOMIC -D_KC_PREFIX="\"/usr\"" -D_KC_INCLUDEDIR="\"/usr/include\"" -D_KC_LIBDIR="\"/usr/lib\"" -D_KC_BINDIR="\"/usr/bin\"" -D_KC_LIBEXECDIR="\"/usr/libexec\"" -D_KC_APPINC="\"-I/usr/include\"" -D_KC_APPLIBS="\"-L/usr/lib -lkyotocabinet -lz -lstdc++ -lrt -lpthread -lm -lc \"" -march=native -O2 -march=i486 -mtune=i686 -Wall -fPIC -fsigned-char -g0 -O2 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter kcutiltest.cc
g++ -march=native -O2 -march=i486 -mtune=i686 -Wall -fPIC -fsigned-char -g0 -O2 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o kcutiltest kcutiltest.o -L. -L/usr/lib -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed  -lkyotocabinet 
./libkyotocabinet.so: undefined reference to `__sync_lock_test_and_set_8'
./libkyotocabinet.so: undefined reference to `__sync_fetch_and_add_8'
./libkyotocabinet.so: undefined reference to `__sync_bool_compare_and_swap_8'
collect2: error: ld returned 1 exit status
make: *** [kcutiltest] Error 1
anny ideas ? thank you!
 
Old 03-04-2013, 11:24 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
could you please check if this works for you?

http://ponce.cc/slackware/testing/kyotocabinet/
 
Old 03-05-2013, 01:33 PM   #3
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch
Posts: 130

Original Poster
Rep: Reputation: 15
thank you!

Code:
usr/doc/kyotocabinet-1.2.76/README

Slackware package /tmp/kyotocabinet-1.2.76-i486-2_SBo.tgz created.
 
Old 03-06-2013, 04:51 AM   #4
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch
Posts: 130

Original Poster
Rep: Reputation: 15
Same error with slackware 14 !
 
Old 03-06-2013, 05:23 AM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
I'll push the testing script above soon
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 02:41 AM
[SOLVED] Unable to build SuiteSparse (from SBo) in multilib 64-current. hiptobecubic Slackware 4 07-31-2012 04:57 AM
OSSv42-2004 released, fixes SBo compile error in -current linuxs64 Slackware 10 01-15-2011 02:19 AM
alien's vlc, -current and SBo's libva grissiom Slackware 2 10-28-2010 08:50 AM
[SOLVED] Digikam from SBo does not compile on 64-current of 2010-03-09 gargamel Slackware 10 03-21-2010 05:28 PM


All times are GMT -5. The time now is 07:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration