- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problems generating exe file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО04-21-2009 10:27 PM
тАО04-21-2009 10:27 PM
Re: problems generating exe file
I can see that actually have only one parameter, but in the source file I am compiling are called with two parameters and the error is that the function has too many parameter. So I think I should remove the parameter which do not fix with the declaration.
I supose it is going to afect to the program working, but not how.
Any recomendations?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 02:32 AM
тАО04-22-2009 02:32 AM
Re: problems generating exe file
Yes.
>I suppose it is going to affect to the program working, ... Any recommendations?
If you had old and new man pages, you could compare. Otherwise you'll have to look at the new man page and basically start over with the call.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2009 02:44 AM
тАО04-22-2009 02:44 AM
Re: problems generating exe file
Thank you very much Dennis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 12:51 AM
тАО04-27-2009 12:51 AM
Re: problems generating exe file
ld: Unsatisfied symbol "XtStrings" in file ../../lib/libZtddServ.a
ld: Unsatisfied symbol "__1kanji" in file ../../lib/libIVIbuild.a[liberror.o]
ld: Unsatisfied symbol "XtWindowOfObject" in file ../../lib/libZtddServ.a
ld: Unsatisfied symbol "XtShellStrings" in file ../../lib/libZtddServ.a
I have done a call to nm -pxAN lib* | grep -e XtStrings and I have found the following results.
0x00000000 U ../../lib/libXtR2.a[Core.o]:XtStrings
0x00000000 U ../../lib/libXtR2.a[Event.o]:XtStrings
0x00000000 U ../../lib/libXtR2.a[Intrinsic.o]:XtStrings
0x00000000 U ../../lib/libXtR2.a[Popup.o]:XtStrings
0x00000000 U ../../lib/libXtR2.a[Resources.o]:XtStrings
0x00000000 U ../../lib/libXtR2.a[Shell.o]:XtStrings
0x00000000 U ../../lib/libXtR2.a[TMparse.o]:XtStrings
0x00000000 U ../../lib/libXtR2.a[TMstate.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Arrow.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Button.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Cascade.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Display.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Form.o]:XtStrings
0x00000000 U ../../lib/libXw.a[ImageEdit.o]:XtStrings
0x00000000 U ../../lib/libXw.a[List.o]:XtStrings
0x00000000 U ../../lib/libXw.a[ListRC.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Manager.o]:XtStrings
0x00000000 U ../../lib/libXw.a[MenuBtn.o]:XtStrings
0x00000000 U ../../lib/libXw.a[MenuMgr.o]:XtStrings
0x00000000 U ../../lib/libXw.a[MenuPane.o]:XtStrings
0x00000000 U ../../lib/libXw.a[MenuSep.o]:XtStrings
0x00000000 U ../../lib/libXw.a[PButton.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Panel.o]:XtStrings
0x00000000 U ../../lib/libXw.a[PopupMgr.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Primitive.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Pulldown.o]:XtStrings
0x00000000 U ../../lib/libXw.a[RCManager.o]:XtStrings
0x00000000 U ../../lib/libXw.a[ResConvert.o]:XtStrings
0x00000000 U ../../lib/libXw.a[SRaster.o]:XtStrings
0x00000000 U ../../lib/libXw.a[SText.o]:XtStrings
0x00000000 U ../../lib/libXw.a[SWindow.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Sash.o]:XtStrings
0x00000000 U ../../lib/libXw.a[ScrollBar.o]:XtStrings
0x00000000 U ../../lib/libXw.a[SourceDsk.o]:XtStrings
0x00000000 U ../../lib/libXw.a[SourceStr.o]:XtStrings
0x00000000 U ../../lib/libXw.a[TextEdit.o]:XtStrings
0x00000000 U ../../lib/libXw.a[TitleBar.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Toggle.o]:XtStrings
0x00000000 U ../../lib/libXw.a[VPW.o]:XtStrings
0x00000000 U ../../lib/libXw.a[Valuator.o]:XtStrings
0x00000000 U ../../lib/libXw.a[WorkSpace.o]:XtStrings
0x00000000 U ../../lib/libXwnlio.a[SourceDsk.o]:XtStrings
0x00000000 U ../../lib/libXwnlio.a[Display.o]:XtStrings
0x00000000 U ../../lib/libXwnlio.a[SourceStr.o]:XtStrings
0x00000000 U ../../lib/libXwnlio.a[TextEdit.o]:XtStrings
0x00000000 U ../../lib/libZtddServ.a:XtStrings
XtStrings apperas in all the libaries which I have linked, so, the problem could be in the Makefile?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 04:55 AM
тАО04-27-2009 04:55 AM
Re: problems generating exe file
ld: Unsatisfied symbol "__1kanji" in liberror.o
Compile this file with "-E -.i" and look at liberror.i. Search for __1kanji. This symbol is obsolete and isn't valid for any 11.x system. You must have some 10x headers with this bad macro?
>I have done a call to nm -pxAN lib* | grep -e XtStrings and I have found the following results.
Did you look in /usr/lib/hpux32/lib*?
>XtStrings appears in all the libraries which I have linked
U ../../lib/libXtR2.a[Core.o]:XtStrings
The "U" stands for unsats, there are no definitions here.
>the problem could be in the Makefile?
Only if the Makefile forgot to add some -lXX.
Is there a man entry for XtStrings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 06:36 AM
тАО04-27-2009 06:36 AM
Re: problems generating exe file
I have problems to generate a preprocessed file, but I can confirm that this program was made under the 9x versi├Г┬│n of HP-UX.
Did you look in /usr/lib/hpux32/lib*?
I don't use any liebary from this folder.
>The "U" stands for unsats, there are no definitions here.
Ok I see now, I suposse the linker only shows me te first undefinition it finds.
>Only if the Makefile forgot to add some -lXX.
I think all the necesary -I paths are included in the makefile.
Is there a man entry for XtStrings?
There is not any man entry for XtStrings, but the are one for XtWindowOfObject.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 06:46 AM
тАО04-27-2009 06:46 AM
Re: problems generating exe file
extern _XtStringDefs_h_Const char XtStrings[];
in that line, in the following lines XtStrings are used like this:
#ifndef XtNaccelerators
#define XtNaccelerators ((char*)&XtStrings[0])
#endif
#ifndef XtNallowHoriz
#define XtNallowHoriz ((char*)&XtStrings[13])
...
I have the extern, but I think I need something some.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 07:34 PM
тАО04-27-2009 07:34 PM
Re: problems generating exe file
Why? What errors?
>I can confirm that this program was made under the 9.x version of HP-UX.
That would explain __1kanji.
>>Did you look in /usr/lib/hpux32/lib*?
>I don't use any library from this folder.
If you are on Integrity, you must use some libs from here or hpux64/.
>I suppose the linker only shows me the first unsat it finds.
It should show all.
>>Only if the Makefile forgot to add some -lXX.
>I think all the necessary -I paths are included in the makefile.
That's -l. And probably -lXt from below.
>The only file where I have references to XtStrings, is in the header file StringDefs.h
extern _XtStringDefs_h_Const char XtStrings[];
This is defined in:
/usr/lib/libXt.1: D XtStrings
/usr/lib/libXt.2: D XtStrings
/usr/lib/libXt.3: D XtStrings
Or:
D /usr/lib/hpux32/libXt.so.1:XtStrings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 10:59 PM
тАО04-27-2009 10:59 PM
Re: problems generating exe file
>Why? What errors?
The cc command returns me the preproccesed file into the screen, not into a *.i file. Despite I give a liberror.i into the command line.
>>>Did you look in /usr/lib/hpux32/lib*?
>>I don't use any library from this folder.
I am no using this folder and after your explanation I am thiking that it could be the problem, I don't have compilation error, and I make my libraries from the source files I have, without any reference to the a lib folder.
>>>Only if the Makefile forgot to add some -lXX.
>>I think all the necessary -I paths are included in the makefile.
>That's -l. And probably -lXt from below.
These are my flags in the makefile I compile the source files which I use to generate the libIVIbuild.a
CCFLAGS = -Wp,-H564000 -DRELEASE -D_IVIOVISUAL -D_INCLUDE_HPUX_SOURCE -D_INCLIDE
_POSIX_SOURCE -D_HPUX_SOURCE -D_CLASSIC_TYPES -DX11R6 -I/hpivi/tape/usr/include/
X11R2 -I/usr/include/X11R6 -I/usr/rtap/include -I/obras/master/EC/include -I/usr
/old/usr/include.
And This my call to the linker in order to generate the final exe file. Ivibuild
$(BIN)/ivibuild: ivibuild.o cgPonerBPR.o $(OBJLIB)
$(LINK) -o $(BIN)/ivibuild ivibuild.o cgPonerBPR.o $(OBJLIB) \
$(LIB)/libZtddServ.a $(LIB)/libZt.a \
$(CG_DIR_IHM_VI)/lib/libcgInterface.a \
$(LIB)/libXwnlio.a $(LIB)/libXw.a $(LIB)/libXtR2.a -lX11 -lm
I am thinking abuot add the libXt.1, libXt.2, libXt.3 to the las command line in order to include the symbols which now are undefined.
>This is defined in:
>/usr/lib/libXt.1: D XtStrings
>/usr/lib/libXt.2: D XtStrings
>/usr/lib/libXt.3: D XtStrings
>Or:
>D /usr/lib/hpux32/libXt.so.1:XtStrings
That is a very good clue, thaks you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 11:28 PM
тАО04-27-2009 11:28 PM
Re: problems generating exe file
ld: Mismatched ABI (not an ELF file) for /usr/lib/libXt.1
Fatal error.
what can I do?
Thanks!
- Tags:
- ABI mismatch