[ ant-contrib-Bugs-1716271 ] VisualAge linker fails for shared libraries
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1716271, was opened at 2007-05-10 05:42
Message generated for change (Comment added) made by darius42
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=1716271&group_id=36177
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: cpptasks
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Curt Arnold (carnold)
Summary: VisualAge linker fails for shared libraries
Initial Comment:
When compiling shared libraries on AIX (using the Visual Age compiler), the following error is produced when linking:
[aix] 62 % ant
Buildfile: build.xml
build:
[cpp:cc] 1 total files to be compiled.
[cpp:cc] Starting link
[cpp:cc] /usr/vacpp/bin/makeC++SharedLib: 1543-301 Priority must be specified
BUILD FAILED
/home/darius42/tmp2/build.xml:7: makeC++SharedLib failed with return code 3
Total time: 2 seconds
[aix] 63 %
build.xml:
----
<project
name="foo"
default="build"
xmlns:cpp="antlib:net.sf.antcontrib.cpptasks">
<target name="build">
<cpp:cc outfile="foo" outtype="shared">
<cpp:compiler name="xlC"/>
<cpp:linker name="xlC"/>
<cpp:fileset dir=".">
<include name="file.cpp"/>
</cpp:fileset>
</cpp:cc>
</target>
</project>
file.cpp
----
int foo(void) {
return 0;
}
----------------------------------------------------------------------
Comment By: darius42 (darius42)
Date: 2007-05-10 05:46
Message:
Logged In: YES
user_id=1140024
Originator: NO
I accidentally submitted without verifying I was logged in. Adding a
comment to associate this issue with my user account.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=1716271&group_id=36177
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/