JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY Archives

MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY  July 2013

MOONSHOT-COMMUNITY July 2013

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

problem with compiling from source

From:

Alan Buxey <[log in to unmask]>

Reply-To:

[log in to unmask]

Date:

Mon, 15 Jul 2013 11:13:23 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (174 lines)

hi,

problem when compiling from source. fails in the 'aux' section with
libconfuse.a and compiler option errors:


libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
./configure --prefix /usr/local/moonshot LDFLAGS=-Wl,-L/usr/local/moonshot/lib -Wl,-rpath=/usr/local/moonshot/lib CPPFLAGS=-I /usr/local/moonshot/include --with-system-libtool --with-system-libltdl --enable-tls --with-gssapi=/usr/local/moonshot --with-xmltooling=/usr/local/moonshot
configure: WARNING: unrecognized options: --with-system-libtool, --with-system-libltdl, --with-gssapi, --with-xmltooling
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for cfg_init in -lconfuse... yes
checking for event_get_version in -levent_core... yes
checking for bufferevent_openssl_socket_new in -levent_openssl... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint8_t... yes
checking for memset... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libradsec.spec
config.status: creating radius/Makefile
config.status: creating include/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-system-libtool, --with-system-libltdl, --with-gssapi, --with-xmltooling
make  all-recursive
make[1]: Entering directory `/usr/local/src/moonshot/libradsec/lib'
Making all in radius
make[2]: Entering directory `/usr/local/src/moonshot/libradsec/lib/radius'
make  all-am
make[3]: Entering directory `/usr/local/src/moonshot/libradsec/lib/radius'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/moonshot/libradsec/lib/radius'
make[2]: Leaving directory `/usr/local/src/moonshot/libradsec/lib/radius'
Making all in include
make[2]: Entering directory `/usr/local/src/moonshot/libradsec/lib/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/moonshot/libradsec/lib/include'
Making all in .
make[2]: Entering directory `/usr/local/src/moonshot/libradsec/lib'
/bin/sh ./libtool --tag=CC   --mode=link gcc -Wall -g -I. -I./include -Werror  -g -O2 -version-info 1:0:0 -export-symbols radsec.sym -Wl,-L/usr/local/moonshot/lib -Wl,-rpath=/usr/local/moonshot/lib -o libradsec.la -rpath /usr/local/moonshot/lib libradsec_la-avp.lo libradsec_la-compat.lo libradsec_la-conf.lo libradsec_la-conn.lo libradsec_la-debug.lo libradsec_la-err.lo libradsec_la-event.lo libradsec_la-packet.lo libradsec_la-peer.lo libradsec_la-radsec.lo libradsec_la-request.lo libradsec_la-send.lo libradsec_la-tcp.lo libradsec_la-udp.lo libradsec_la-rsp_debug.lo libradsec_la-rsp_hash.lo libradsec_la-rsp_list.lo libradsec_la-rsp_util.lo libradsec_la-tls.lo libradsec_la-rsp_tlscommon.lo radius/libradsec-radius.la -levent_openssl -levent_core -lconfuse 
libtool: link: rm -fr  .libs/libradsec.ver
libtool: link: echo "{ global:" > .libs/libradsec.ver
libtool: link:  cat radsec.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libradsec.ver
libtool: link:  echo "local: *; };" >> .libs/libradsec.ver
libtool: link:  gcc -shared  .libs/libradsec_la-avp.o .libs/libradsec_la-compat.o .libs/libradsec_la-conf.o .libs/libradsec_la-conn.o .libs/libradsec_la-debug.o .libs/libradsec_la-err.o .libs/libradsec_la-event.o .libs/libradsec_la-packet.o .libs/libradsec_la-peer.o .libs/libradsec_la-radsec.o .libs/libradsec_la-request.o .libs/libradsec_la-send.o .libs/libradsec_la-tcp.o .libs/libradsec_la-udp.o .libs/libradsec_la-rsp_debug.o .libs/libradsec_la-rsp_hash.o .libs/libradsec_la-rsp_list.o .libs/libradsec_la-rsp_util.o .libs/libradsec_la-tls.o .libs/libradsec_la-rsp_tlscommon.o  -Wl,--whole-archive radius/.libs/libradsec-radius.a -Wl,--no-whole-archive  -levent_openssl -levent_core -lconfuse  -Wl,-L/usr/local/moonshot/lib -Wl,-rpath=/usr/local/moonshot/lib   -Wl,-soname -Wl,libradsec.so.1 -Wl,-version-script -Wl,.libs/libradsec.ver -o .libs/libradsec.so.1.0.0
/usr/bin/ld: /usr/local/lib/libconfuse.a(confuse.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libconfuse.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libradsec.la] Error 1
make[2]: Leaving directory `/usr/local/src/moonshot/libradsec/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/moonshot/libradsec/lib'
make: *** [all] Error 2
Error:(' make -j3',)


alan

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
January 2020
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
June 2018
April 2018
November 2017
October 2017
September 2017
August 2017
July 2017
May 2017
April 2017
March 2017
February 2017
November 2016
October 2016
August 2016
July 2016
June 2016
May 2016
March 2016
February 2016
January 2016
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager