Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a Shared library (dll) 1

Status
Not open for further replies.

Venus

Programmer
Mar 22, 2001
21
0
0
CA
I have a shared library which was created on Solaris machine and have tried taking the files from that platform and recompiling it on the HP-server. I have tried editting the Makefile that I copied over & the mapfile. This caused warnings and an error about an unexpected end of file in the mapfile.
I then tried removing the mapfile from the Makefile code and got these errors:
/usr/ccs/bin/ld: Can't open (filename)
/usr/ccs/bin/ld: No such file or directory
**Error exit code 1

Any suggestions on what to do?
 
I don't know if this is related to your error but...

Syntax for HP-UX is different. You must write:

cc +z -c shared.c
ld -b -o shared.so shared.o

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top