View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000331 | mercury | Bug | public | 2014-05-29 11:17 | 2014-05-29 13:56 | ||||
Reporter | lpimmes | ||||||||
Assigned To | juliensf | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OSX | OS | 10.9 | OS Version | |||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000331: File not found via mmc a library which uses another library. | ||||||||
Description | simpleSat3 515>make libsimpleSat3_lib.a mmc --make --grade hlc.gc libsimpleSat3_lib -E \ --search-lib-files-dir ../../../lpiUtil \ --link-object liblpiUtil.a \ --init-file lpiUtil.init Making Mercury/int3s/simpleSat3_lib.int3 Making Mercury/ints/simpleSat3_lib.int Making Mercury/cs/simpleSat3_lib.c Making Mercury/os/simpleSat3_lib.o ** Error: file `liblpiUtil.a' not found: file `liblpiUtil.a' not found ** Error making `libsimpleSat3_lib.a'. make: *** [libsimpleSat3_lib.a] Error 1 simpleSat3 515>ls ../../../lpiUtil Makefile Mercury liblpiUtil.a liblpiUtil.dylib lpiUtil.err lpiUtil.init lpiUtil.m lpiUtil.mh simpleSat3 515>ls -al ../../../lpiUtil/liblpiUtil.a -rw-r--r-- 1 lpimmes staff 2200 May 28 20:42 ../../../lpiUtil/liblpiUtil.a simpleSat3 515> liblpiUtil.a exists, yet not found. Same template has worked in the past when compiling main program with a library. In this case I am compiling a library which employs another library. Any suggestions would appreciated. Thanks. | ||||||||
Steps To Reproduce | See above. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
Notes | |
juliensf (administrator) 2014-05-29 11:28 |
According to the instructions in the user's guide, ``Using non-installed libraries with mmc --make 'that should be: mmc --make --grade hlc.gc libsimpleSat3_lib -E \ --search-lib-files-dir ../../../lpiUtil \ --link-object ../../../liblpiUtil.a \ --init-file ../../../lpiUtil.init |
lpimmes (reporter) 2014-05-29 13:47 |
That solved the problem. Thank you. |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-05-29 11:17 | lpimmes | New Issue | |
2014-05-29 11:28 | juliensf | Note Added: 0000696 | |
2014-05-29 13:47 | lpimmes | Note Added: 0000697 | |
2014-05-29 13:56 | juliensf | Status | new => closed |
2014-05-29 13:56 | juliensf | Assigned To | => juliensf |
2014-05-29 13:56 | juliensf | Resolution | open => no change required |