Hi,<br><br>Thanks for confirming, we haven't been able to get around to gcc-4.3 yet, but it is in the tasks list<br><br><a href="http://code.google.com/p/admb-project/issues/list">http://code.google.com/p/admb-project/issues/list</a><br>
<br>johnoel<br><br><div class="gmail_quote">On Tue, Dec 9, 2008 at 9:12 AM, Ian Taylor <span dir="ltr"><<a href="mailto:Ian.Taylor@noaa.gov">Ian.Taylor@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Evan,<br>
I just downloaded and installed the 64 bit linux admb ("<a href="http://admb-project.googlecode.com/files/admb-9.0.65-linux64-gcc3.4.6.zip" target="_blank">Linux
64-bit for gcc-3.4.6</a>") on a computer which professes to be using
gcc <a href="http://4.3.2." target="_blank">4.3.2.</a> It compiled and ran just fine. I've pasted the results of
$gcc -v below:<br>
-Ian<br>
<br>
###<br>
<br>
ian@ian-laptop:~/admb$ gcc -v<br>
Using built-in specs.<br>
Target: x86_64-linux-gnu<br>
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.3.2-1ubuntu11'
--with-bugurl=<a>file:///usr/share/doc/gcc-4.3/README.Bugs</a>
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>
Thread model: posix<br>
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) <br>
<br>
###<br>
<br>
<a href="mailto:developers-bounces@admb-project.org" target="_blank">developers-bounces@admb-project.org</a> wrote:
<blockquote type="cite"><br>
<hr size="4" width="90%"><br>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<div style="display: inline;">Subject:
</div>
problems with Linux version...</td>
</tr>
<tr>
<td>
<div style="display: inline;">From: </div>
Evan Cooch <a href="mailto:evan.cooch@cornell.edu" target="_blank"><evan.cooch@cornell.edu></a></td>
</tr>
<tr>
<td>
<div style="display: inline;">Date: </div>
Tue, 09 Dec 2008 10:43:46 -0500</td>
</tr>
<tr>
<td>
<div style="display: inline;">To: </div>
<a href="mailto:developers@admb-project.org" target="_blank">developers@admb-project.org</a></td>
</tr>
</tbody>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<div style="display: inline;">To: </div>
<a href="mailto:developers@admb-project.org" target="_blank">developers@admb-project.org</a></td>
</tr>
</tbody>
</table>
<br>
Greetings -
<br>
<br>
Trying to install ADMB on a multi-Opteron box, that is binary
compatible for both 32- and 64-bit apps. Has gcc 4.1.2 installed. Since
it doesn't look as though there is a gcc 4.xx version for 64-bits
(why?), I downloaded the archive for the 32-bit version. Followed the
directions for install, cd'd to ADMB_HOME, ran make, and got a whole
slew of errors, starting with
<br>
<br>
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/strstream:51,
<br>
from //home/egc/Desktop/admb/include/fvar.hpp:446,
<br>
from ham4.cpp:1:
<br>
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers found in
section <a href="http://17.4.1.2" target="_blank">17.4.1.2</a> of the C++ standard. Examples include substituting the
<X> header for the <X.h> header for C++ includes, or
<iostream> instead of the deprecated header <iostream.h>.
To disable this warning use -Wno-deprecated....
<br>
<br>
and culminating with:
<br>
<br>
/usr/bin/ld: cannot find -ldf1b2stub
<br>
collect2: ld returned 1 exit status
<br>
/bin/sh: ./ham4: No such file or directory
<br>
make: *** [ham4] Error 127
<br>
<br>
<br>
My guess is that that when ADMB tries to compile using gcc, it isn't
smart' enough to tell gcc to compile for 32-bits (the default on this
machine is to compile for 64 unless you throw the -m32 flag at it
during compilation). Moreover, 32-bit and 64-bit libs are generally
both installed on 64-bit machines, and ADMB would need to know where to
find what it needs.
<br>
<br>
Suggestions? Since ADMB is now being given away freely, why not
consider making the source available, and letting users do a
config/make/make install sequence? Would make your lives simpler than
trying to make binaries which are unlikely to run on all permutations
of Linux.
<br>
<br>
<pre><hr size="4" width="90%">
_______________________________________________
Users mailing list
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</blockquote></div><br>