Why don't you start with a "Hello, world" compile and link that is known to work and work the other direction from there.
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Henrique Seganfredo Sent: Thursday, December 12, 2013 2:01 PM To: [email protected] Subject: Re: unresolvend references compiling C with LDAP functions Hi, After compile/prelink/link with success I cannot run a single hello world from the code. I have stripped all ldap function calls and now only there is a printf(). But if a do link with a DD card pointing to SYS1.SIEALNKE(GLDCLDAP), the module (actualy program object, inside of a PDSE) fails with CEE3201S The system detected an operation exception (System Completion Code=0C1) From entry point main at compile unit offset -16F00050 at entry offset Possible Bad Branch: Statement: Offset: +00000080 Any suggestions? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
