HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unresolved symbol : BadString
Operating System - HP-UX
1833476
Members
2788
Online
110052
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
06-01-2006 12:06 AM
06-01-2006 12:06 AM
Unresolved symbol : BadString
Hi,
I am building one application. Here I am creating one archive library by using few .o files. By using these archive file and few.o files I am creating the shared library. Using this shared libraryand one C file I am creating the Executable file. But THis executable will throw the above error.
Can you guide me are these command options are correct?
The commands I am running is as follows.
/opt/ansic/bin/cc +Z -b -Wl,-B nodelete -Wl,-B immediate -Wl,+s -Wl,+b\$/ORIGIN:\$ORIGIN/../share/lib:\$ORIGIN/../lib:. -L./build/HP-UXB.11.11//c/DBG/lib/ -Wl,+hlibMflog4c.sl -o build/HP-UXB.11.11//c/DBG/lib/libMflog4c.sl build/HP-UXB.11.11//c/DBG/obj/appender.o build/HP-UXB.11.11//c/DBG/obj/appender_type_mmap.o build/HP-UXB.11.11//c/DBG/obj/appender_type_stream.o build/HP-UXB.11.11//c/DBG/obj/appender_type_syslog.o build/HP-UXB.11.11//c/DBG/obj/category.o build/HP-UXB.11.11//c/DBG/obj/init.o build/HP-UXB.11.11//c/DBG/obj/layout.o build/HP-UXB.11.11//c/DBG/obj/layout_type_basic.o build/HP-UXB.11.11//c/DBG/obj/layout_type_dated.o build/HP-UXB.11.11//c/DBG/obj/logging_event.o build/HP-UXB.11.11//c/DBG/obj/priority.o build/HP-UXB.11.11//c/DBG/obj/rc.o build/HP-UXB.11.11//c/DBG/obj/version.o build/HP-UXB.11.11//c/DBG/lib/liblog4c_sd.a -L./ext_dep/c/HP-UXB.11.11_DBG.OBJ/SECURITY_JES5_20060505/lib -lnspr4 -lplds4 -lc -lpthread -lnsl -lrt
/opt/ansic/bin/cc -wn +DAportable +Z -Ae -mt -D_REENTRANT -Wl,+s -g -DDEBUG_BUILD -DDEBUG -DHPUX -I include -I src/log4c -I src -I src/sd -Iunittests-jesmf -I./ext_dep/c/HP-UXB.11.11_DBG.OBJ/SECURITY_JES5_20060505/include -L./build/HP-UXB.11.11//c/DBG/lib/ -L../lib/ -o build/HP-UXB.11.11//c/DBG/unit_test/test_log4c-API unittests-jesmf/test_log4c-API.c -L./ext_dep/c/HP-UXB.11.11_DBG.OBJ/SECURITY_JES5_20060505/lib -lnspr4 -lplds4 -L./build/HP-UXB.11.11/c/DBG/lib/ -lMflog4c -lc -lpthread -lnsl -lrt
I am building one application. Here I am creating one archive library by using few .o files. By using these archive file and few.o files I am creating the shared library. Using this shared libraryand one C file I am creating the Executable file. But THis executable will throw the above error.
Can you guide me are these command options are correct?
The commands I am running is as follows.
/opt/ansic/bin/cc +Z -b -Wl,-B nodelete -Wl,-B immediate -Wl,+s -Wl,+b\$/ORIGIN:\$ORIGIN/../share/lib:\$ORIGIN/../lib:. -L./build/HP-UXB.11.11//c/DBG/lib/ -Wl,+hlibMflog4c.sl -o build/HP-UXB.11.11//c/DBG/lib/libMflog4c.sl build/HP-UXB.11.11//c/DBG/obj/appender.o build/HP-UXB.11.11//c/DBG/obj/appender_type_mmap.o build/HP-UXB.11.11//c/DBG/obj/appender_type_stream.o build/HP-UXB.11.11//c/DBG/obj/appender_type_syslog.o build/HP-UXB.11.11//c/DBG/obj/category.o build/HP-UXB.11.11//c/DBG/obj/init.o build/HP-UXB.11.11//c/DBG/obj/layout.o build/HP-UXB.11.11//c/DBG/obj/layout_type_basic.o build/HP-UXB.11.11//c/DBG/obj/layout_type_dated.o build/HP-UXB.11.11//c/DBG/obj/logging_event.o build/HP-UXB.11.11//c/DBG/obj/priority.o build/HP-UXB.11.11//c/DBG/obj/rc.o build/HP-UXB.11.11//c/DBG/obj/version.o build/HP-UXB.11.11//c/DBG/lib/liblog4c_sd.a -L./ext_dep/c/HP-UXB.11.11_DBG.OBJ/SECURITY_JES5_20060505/lib -lnspr4 -lplds4 -lc -lpthread -lnsl -lrt
/opt/ansic/bin/cc -wn +DAportable +Z -Ae -mt -D_REENTRANT -Wl,+s -g -DDEBUG_BUILD -DDEBUG -DHPUX -I include -I src/log4c -I src -I src/sd -Iunittests-jesmf -I./ext_dep/c/HP-UXB.11.11_DBG.OBJ/SECURITY_JES5_20060505/include -L./build/HP-UXB.11.11//c/DBG/lib/ -L../lib/ -o build/HP-UXB.11.11//c/DBG/unit_test/test_log4c-API unittests-jesmf/test_log4c-API.c -L./ext_dep/c/HP-UXB.11.11_DBG.OBJ/SECURITY_JES5_20060505/lib -lnspr4 -lplds4 -L./build/HP-UXB.11.11/c/DBG/lib/ -lMflog4c -lc -lpthread -lnsl -lrt
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2007 01:27 AM
08-26-2007 01:27 AM
Re: Unresolved symbol : BadString
Where is the error message?
What object/lib has the unsat? Where is BadString defined?
>-Wl,-B nodelete -Wl,-B immediate
These options are incorrect. You need a comma between the -B and the option parm. It may be a fluke that it works.
(Any reason you are using nodelete? That was added just for me. ;-)
What object/lib has the unsat? Where is BadString defined?
>-Wl,-B nodelete -Wl,-B immediate
These options are incorrect. You need a comma between the -B and the option parm. It may be a fluke that it works.
(Any reason you are using nodelete? That was added just for me. ;-)
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP