Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build errrors - decNumber.c #31

Closed
mstram opened this issue Sep 3, 2014 · 4 comments
Closed

Build errrors - decNumber.c #31

mstram opened this issue Sep 3, 2014 · 4 comments

Comments

@mstram
Copy link

mstram commented Sep 3, 2014

I'm trying to build on

Linux ip-172-31-16-159 3.13.0-29-generic #53-Ubuntu SMP

gcc (Ubuntu 4.8.2-19ubuntu1


decNumber.c: In function 'decSetSubnormal':
decNumber.c:5947:14: warning: variable 'dnexp' set but not used [-Wunused-but-set-variable]
Int dnexp; // saves original exponent
^

mv: cannot stat ‘t-nl.gmo’: No such file or directory

** Warning: linker path does not have real file for library -lpthread.
*** using a file magic. Last file checked: /usr/lib/x86_64-linux-gnu//libpthread.so

*** Warning: linker path does not have real file for library -lrt.
using a file magic. Last file checked: /lib/x86_64-linux-gnu/librt-2.19.so

*** Warning: linker path does not have real file for library -lz.
*** using a file magic. Last file checked: /lib/x86_64-linux-gnu/libz.so.1.2.8

*** Warning: linker path does not have real file for library -lresolv.
*** using a file magic. Last file checked: /lib/x86_64-linux-gnu/libresolv-2.19.so

Warning: linker path does not have real file for library -lnsl.
*** using a file magic. Last file checked: /lib/x86_64-linux-gnu/libnsl-2.19.so

*** Warning: linker path does not have real file for library -lm.
using a file magic. Last file checked: /lib/x86_64-linux-gnu/libm-2.19.so

linker path does not have real file for library -ldl.
using a file magic. Last file checked: /lib/x86_64-linux-gnu/libdl-2.19.so

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

@mstram
Copy link
Author

mstram commented Sep 3, 2014

Also right at the beginning 👍

sh autogen.sh

automake... FAILED!

The last 10 lines of autogen.log follows...

../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
configure.ac:1112: the top level
configure.ac:14: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:14: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:33: error: required file 'autoconf/compile' not found
configure.ac:33: 'automake --add-missing' can install 'compile'


So I modified autogen.sh :

   automake --add-missing

which produced the configure file

@mstram
Copy link
Author

mstram commented Sep 3, 2014

It compiles without errors here :
(Sles 11 aws ec2)

gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]

Linux version 3.0.101-0.29-default (geeko@buildhost) (gcc version 4.3.4 [gcc-4_3-branch revision 152973](SUSE Linux) ) #1 SMP T

@rbowler
Copy link
Owner

rbowler commented Sep 11, 2014

The unused-but-set warning and the autoconf/compile error should be fixed by release 3.11.

@rbowler
Copy link
Owner

rbowler commented Sep 11, 2014

Are you sure you are using the current version of configure.ac? The message "mv: cannot stat ‘t-nl.gmo’: No such file or directory" relates to the enable-nls feature which was removed from spinhawk in release 3.09. The "warning: variable 'dnexp' set but not used [-Wunused-but-set-variable]" message was eliminated from spinhawk by commit 03e0d3e on April 3. I don't know what to make of the libtool warnings.

@rbowler rbowler closed this as completed Apr 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants