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;
}
Nobody/Anonymous ( nobody ) - 2007-05-10 05:42
5
Closed
Fixed
David Haney
cpptasks
None
Public
|
Date: 2007-05-13 14:37
|
|
Date: 2007-05-11 17:47
|
|
Date: 2007-05-10 06:03
|
|
Date: 2007-05-10 05:54
|
|
Date: 2007-05-10 05:46
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2007-08-22 23:52 | darius42 |
| resolution_id | None | 2007-08-22 23:52 | darius42 |
| assigned_to | carnold | 2007-08-22 23:52 | darius42 |
| close_date | - | 2007-08-22 23:52 | darius42 |