Help with BuildExternal on HPUX 11.11
Richard Sheehan
sheerich@isu.edu
Tue, 09 Nov 2004 16:58:38 -0700
I'm having trouble with BuildExternal.
I guess my first question is: Is there more information about BuildExternal
than is listed in the QDesign Reference (version 8.1)
I was attempting to build an external object file in 64 bit ANSI C.
BuildExternal promptly complains about this. Is there a way to tell
BuildExternal that I want to build in 64 bit?
The object file ldapauth.o works fine from the command line on HPUX
adux2:/home/sheerich/sun1d/examples/ldt/ make
/opt/ansic/bin/cc -c ldaptest.c -L../../lib -lldap50
-L/usr/lib/pa20_64 -lpthread -lc -lpthread +DA2.0W +DS2.0
/opt/ansic/bin/cc -c ldapauth.c -L../../lib -lldap50
-L/usr/lib/pa20_64 -lpthread -lc -lpthread +DA2.0W +DS2.0
ld -oldaptest -L../../lib -lldap50 -L/usr/lib/pa20_64 -lpthread -lc
ldapauth.o ldaptest.o
ldaptest
Enter host [ldap.isu.edu]
Enter uid [sheerich]
Enter ou [People]
Enter o [isu.edu,isp]
Enter pw [testxx99]
starting ldapauth
finished ldapauth
Result is 0 -> Success.
Stop.
adux2:/home/sheerich/sun1d/examples/ldt/ BuildExternal ldapauth ldapauth.o
cc: "qkextdrvr.c", line 276: warning 604: Pointers are not
assignment-compatible.
cc: "qkextdrvr.c", line 276: warning 563: Argument #2 is not the correct
type.
/usr/ccs/bin/ld: ldapauth.o: Mismatched ABI. 64-bit PA object file found in
32-bit link.
adux2:/home/sheerich/sun1d/examples/ldt/ file ldapauth.o
ldapauth.o: ELF-64 relocatable object file - PA-RISC 2.0 (LP64)
OK, So I try to build 32-bit from the makefile.
Then I get the following error:
adux2:/home/sheerich/sun1d/examples/ldt/ make
cc -c ldaptest.c -L/opt/mozilla -lldap50 -Wl,+s+b
cc -c ldapauth.c -L/opt/mozilla -lldap50 -Wl,+s+b
ld -oldaptest -L/opt/mozilla -lldap50 -L/usr/lib -lpthread
-L/usr/lib -lc ldapauth.o ldaptest.o
ld: Unsatisfied symbols:
$global$ (data) (probably missing /usr/ccs/lib/crt0.o)
*** Error exit code 1
Stop.
Any help would be appreciated.
Richard Sheehan
IT Programmer Analyst - T
208-282-2996
Idaho State University
Pocatello, ID 83209-8008
-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Joe Boyle
Sent: Tuesday, November 09, 2004 11:52 AM
To: 'Robert Edis'; 'PowerHouse List'
Subject: RE: Can't access SQL Server with Qdesign
Temp keys look ok, presumably they let you use PH to access screens etc
against other/any data ?
Presumably you are accessing via odbc, so do you have odbc entries in both
user DSN and system DSN levels ?
Can you see the database when you type 'show databases detail' in qshow ?
Also, when using ph are you accessing the same dictionary that Axiant uses,
or have you created a new one from your own syntax ?
Try the following to get the exact syntax that Axiant is using, 1. set
axiant to keep temporary files 2. build the dictionary from within Axiant to
generate the pdl source code 3. go off and find the pdl source file which
was just created by Axiant 4. cut the database syntax from there ( which you
know works ), into your pdl source file for ph 5. compile in pdl and see if
this helps.
Regards, Joe.
This e-mail and all information contained in it is confidential and may be
legally privileged. If you are not the intended recipient, your access to
this e-mail is unauthorized. Any use, dissemination, distribution,
publication or copying by you of this e-mail or any of the information
contained within it is prohibited and may be unlawful. Do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. The content of this
e-mail and any attachments sent with it may have been altered without the
consent or knowledge of the author.
-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com] On Behalf Of Robert Edis
Sent: 09 November 2004 16:04
To: PowerHouse List
Subject: Can't access SQL Server with Qdesign
G'day all
Env: PH 8.4D1, Win2K, SQL Server 8.
I can't read the same SQL Server database in Quiz,
Qdesign, etc as I can in Axiant. The dictionary was
created by Axiant.
Is this because I'm missing something from the
license?
This is the contents of the license file:
SERVER myserver ANY 1701
DAEMON cognos1d C:\PROGRA~1\Cognos\POWERH~1
FEATURE PH8-TEMPORARY cognos1d 1.000 31-DEC-2004 0
CZOGOCODFE "0057190090 COGNOS INC. NI DEMO" DEMO
FEATURE PHWEB-TEMPORARY cognos1d 1.000 31-DEC-2004 0
ZWDREVOWKB "0057190090 COGNOS INC. NI DEMO" DEMO
Any ideas?
Blue
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.