HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: a new error by compiling
Operating System - Linux
1827852
Members
1765
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 12:45 AM
05-29-2008 12:45 AM
a new error by compiling
Hello,
I have changed the makefile a litte bit by plus "-lcl" at the end of the file, but it still doesnot work and shows a new error message.
=============Error message====================
cc -Aa -o fem2d fem2d.c dim_mlib.c mlib_eval_2.c mlib_eval_3.c stiff_eval.c current_eval.c locstiff_eval.c dPsi_2D.c invjak_mat2D.c jak_det2D.c loc_koord.c dimension.c para_lesen.c schreibe_matrix.c schreibe_matrix2.c Elecfield2D_tri.c ElecFlowfield2D_tri.c field2D_node.c write_msh.c -I/user/include -I/opt/mlib/include -L/opt/mlib/lib/ -lveclib -llapack -lm -lcl
fem2d.c:
dim_mlib.c:
mlib_eval_2.c:
mlib_eval_3.c:
stiff_eval.c:
current_eval.c:
locstiff_eval.c:
dPsi_2D.c:
invjak_mat2D.c:
jak_det2D.c:
loc_koord.c:
dimension.c:
para_lesen.c:
schreibe_matrix.c:
schreibe_matrix2.c:
Elecfield2D_tri.c:
ElecFlowfield2D_tri.c:
field2D_node.c:
write_msh.c:
/usr/ccs/bin/ld: Can't find library for -lcl
*** Error exit code 1
=================Error message===============
I have changed the makefile a litte bit by plus "-lcl" at the end of the file, but it still doesnot work and shows a new error message.
=============Error message====================
cc -Aa -o fem2d fem2d.c dim_mlib.c mlib_eval_2.c mlib_eval_3.c stiff_eval.c current_eval.c locstiff_eval.c dPsi_2D.c invjak_mat2D.c jak_det2D.c loc_koord.c dimension.c para_lesen.c schreibe_matrix.c schreibe_matrix2.c Elecfield2D_tri.c ElecFlowfield2D_tri.c field2D_node.c write_msh.c -I/user/include -I/opt/mlib/include -L/opt/mlib/lib/ -lveclib -llapack -lm -lcl
fem2d.c:
dim_mlib.c:
mlib_eval_2.c:
mlib_eval_3.c:
stiff_eval.c:
current_eval.c:
locstiff_eval.c:
dPsi_2D.c:
invjak_mat2D.c:
jak_det2D.c:
loc_koord.c:
dimension.c:
para_lesen.c:
schreibe_matrix.c:
schreibe_matrix2.c:
Elecfield2D_tri.c:
ElecFlowfield2D_tri.c:
field2D_node.c:
write_msh.c:
/usr/ccs/bin/ld: Can't find library for -lcl
*** Error exit code 1
=================Error message===============
- Tags:
- linking
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 02:03 AM
05-29-2008 02:03 AM
Re: a new error by compiling
>ld: Can't find library for -lcl
The only way this can fail is if you have removed /usr/lib/libcl.*.
Or have illegally exported LPATH to not include /usr/lib.
>-I/user/include
(Was this suppose to be /usr/include? If so, you shouldn't specify it.)
The only way this can fail is if you have removed /usr/lib/libcl.*.
Or have illegally exported LPATH to not include /usr/lib.
>-I/user/include
(Was this suppose to be /usr/include? If so, you shouldn't specify it.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 05:40 AM
05-29-2008 05:40 AM
Re: a new error by compiling
>-I/user/include
(Was this suppose to be /usr/include? If so, you shouldn't specify it.)
Hallo Dennis,
I have changed the makefile as you suggested, but the error has benn also changed to another like the following. Might you help?
Thanks a lot and best regards!
===========Error message====================
cc -Aa -o fem2d fem2d.c dim_mlib.c mlib_eval_2.c mlib_eval_3.c stiff_eval.c current_eval.c locstiff_eval.c dPsi_2D.c invjak_mat2D.c jak_det2D.c loc_koord.c dimension.c para_lesen.c schreibe_matrix.c schreibe_matrix2.c Elecfield2D_tri.c ElecFlowfield2D_tri.c field2D_node.c write_msh.c -I/usr/include -I/opt/mlib/include -L/opt/mlib/lib/ -lveclib -llapack -lm -lcl
fem2d.c:
dim_mlib.c:
mlib_eval_2.c:
mlib_eval_3.c:
stiff_eval.c:
current_eval.c:
locstiff_eval.c:
dPsi_2D.c:
invjak_mat2D.c:
jak_det2D.c:
loc_koord.c:
dimension.c:
para_lesen.c:
schreibe_matrix.c:
schreibe_matrix2.c:
Elecfield2D_tri.c:
ElecFlowfield2D_tri.c:
field2D_node.c:
write_msh.c:
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (fem2d.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Can't open
/usr/ccs/bin/ld: No such file or directory
*** Error exit code 1
Stop.
=================Error message==============
(Was this suppose to be /usr/include? If so, you shouldn't specify it.)
Hallo Dennis,
I have changed the makefile as you suggested, but the error has benn also changed to another like the following. Might you help?
Thanks a lot and best regards!
===========Error message====================
cc -Aa -o fem2d fem2d.c dim_mlib.c mlib_eval_2.c mlib_eval_3.c stiff_eval.c current_eval.c locstiff_eval.c dPsi_2D.c invjak_mat2D.c jak_det2D.c loc_koord.c dimension.c para_lesen.c schreibe_matrix.c schreibe_matrix2.c Elecfield2D_tri.c ElecFlowfield2D_tri.c field2D_node.c write_msh.c -I/usr/include -I/opt/mlib/include -L/opt/mlib/lib/ -lveclib -llapack -lm -lcl
fem2d.c:
dim_mlib.c:
mlib_eval_2.c:
mlib_eval_3.c:
stiff_eval.c:
current_eval.c:
locstiff_eval.c:
dPsi_2D.c:
invjak_mat2D.c:
jak_det2D.c:
loc_koord.c:
dimension.c:
para_lesen.c:
schreibe_matrix.c:
schreibe_matrix2.c:
Elecfield2D_tri.c:
ElecFlowfield2D_tri.c:
field2D_node.c:
write_msh.c:
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (fem2d.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Can't open
/usr/ccs/bin/ld: No such file or directory
*** Error exit code 1
Stop.
=================Error message==============
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2008 05:45 AM
05-29-2008 05:45 AM
Re: a new error by compiling
ld: Can't open
ld: No such file or directory
Hmm, this isn't helpful. I have no idea what the file is.
Try linking with "-Wl,-t" to trace the linker file operations.
ld: No such file or directory
Hmm, this isn't helpful. I have no idea what the file is.
Try linking with "-Wl,-t" to trace the linker file operations.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP