> r4gl -V
IBM INFORMIX-4GL Version 7.32.FC3
Software Serial Number RDS#N000000
Solaris 9
Still having problems with this :-((
My colleague has raised a tech support call but I don;t think it has been
acknowledged yet.
I now have the "proper" Solaris C compiler. But I still get errors trying
to make the runner. (As a side issue all the object files are still,
according to file, 32 bit object files. can that be that right?).
thanks
Neil
/usr/ccs/bin/make -f Makefile
cc -c extras.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
cc -c nfile.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
cc -c ndates.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
cc -c getakey.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
cc -c read_ln.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
cc -c scan_weeks.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
cc -c read_merged.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
cc -c last_access.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
cfglgo fgiusr.c extras.o nfile.o ndates.o getakey.o read_ln.o scan_weeks.o
read_merged.o last_access.o -o /run4gl
ucbcc: Warning:
Option -YP,:/usr/ucblib/sparcv9:/opt/SUNWspro/prod/bin/../lib/sparcv9:/opt/SUNWspro/prod/bin/sparcv9:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9
passed to ld, if ld is invoked, ignored otherwise
unknown flag -destination_ir=yabe
ucbcc: Cannot find /opt/SUNWspro/prod/lib/wordalignI8.o
*** Error code 1
make: Fatal error: Command failed for target `run4gl'
Jonathan Leffler - 29 Jul 2005 05:38 GMT
>>r4gl -V
>
[quoted text clipped - 16 lines]
> cc -c extras.c
> ucbcc: Warning:
You need to fix your PATH so you don't use /usr/ucb/cc - it won't work.
You need the real location of your SUNWspro C compiler to appear on your
PATH first.
Actually, you should really remove /usr/ucb from your PATH altogether.
> Option -YP,:/usr/ucblib:/opt/SUNWspro/prod/bin/../lib:/opt/SUNWspro/prod/bin:/usr/ccs/lib:/usr/lib
> passed to ld, if ld is invoked, ignored otherwise
[quoted text clipped - 43 lines]
> *** Error code 1
> make: Fatal error: Command failed for target `run4gl'

Signature
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.01 -- http://dbi.perl.org/
Neil Truby - 29 Jul 2005 07:51 GMT
> You need to fix your PATH so you don't use /usr/ucb/cc - it won't work.
> You need the real location of your SUNWspro C compiler to appear on your
> PATH first.
>
> Actually, you should really remove /usr/ucb from your PATH altogether.
If i do that I get:
cfglgo fgiusr.c extras.o nfile.o ndates.o getakey.o read_ln.o scan_weeks.o
read_merged.o last_access.o -o /run4gl
ld: fatal: file extras.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to /run4gl
*** Error code 1
make: Fatal error: Command failed for target `run4gl'
And all the *.o files are 32-bit. Baffled by this.
If I explicity precompile all the *.o files with arch=v9:
/usr/ccs/bin/make -f Makefile
cfglgo fgiusr.c extras.o nfile.o ndates.o getakey.o read_ln.o scan_weeks.o
read_merged.o last_access.o -o /run4gl
Undefined first referenced
symbol in file
_delkey getakey.o
_hlpkey getakey.o
_inskey getakey.o
_nxtkey getakey.o
popquote extras.o
_prvkey getakey.o
poplong nfile.o
popint extras.o
retint extras.o
_efrgetkey getakey.o
_efacckey getakey.o
_efdelkey getakey.o
retquote nfile.o
_efhlpkey getakey.o
_efinskey getakey.o
_efnxtkey getakey.o
_efprvkey getakey.o
ld: fatal: Symbol referencing errors. No output written to /run4gl
*** Error code 1
make: Fatal error: Command failed for target `run4gl'
Thanks for your continued interest everyone, esp Jonathan!
Superboer - 29 Jul 2005 09:11 GMT
Hello Neil
> If I explicity precompile all the *.o files with arch=v9:
>
> /usr/ccs/bin/make -f Makefile
-->> check the rel notes;
you may need to include
fglsys.h
fglapi.h
See:
----------
DOCNOTES_7.31
..
..
manipulating the 4GL argument stack, as listed on pages
C-5 through C-8, cannot be used as 4GL identifiers, but
are omitted from Appendix G, "Reserved Words":
retint popint
retshort popshort
retlong poplong
retflo popflo
retdub popdub
retdec popdec
retquote popquote
retstring popstring
retvchar popvchar
retdate popdate
retdtime popdtime
retinv popinv
poplocator
These functions are renamed in Version 7.31; see
Appendix C for the new names and for descriptions
of these functions. C code for use with releases
of 4GL earlier than Version 7.31 that calls any
of the pop, push, or return functions must be
recompiled with fglsys.h header file to map the
pre-Version 7.31 names onto the new function names.
..
--------------------------------------
ahum the above is for i4gl so i may be wrong here....
Superboer.
Neil Truby schreef:
> > You need to fix your PATH so you don't use /usr/ucb/cc - it won't work.
> > You need the real location of your SUNWspro C compiler to appear on your
[quoted text clipped - 42 lines]
>
> Thanks for your continued interest everyone, esp Jonathan!
scottishpoet - 29 Jul 2005 19:26 GMT
There is an article detailing this last probelm on the IBM support
website :
http://www-1.ibm.com/support/docview.wss?rs=681&context=SSVT2J&context=SSCVRDE&c
ontext=SSCVRDD&context=SSCVRDJ&context=SSCVRDM&dc=DB520&dc=D600&dc=DB530&dc=D700
&dc=DB500&dc=DB540&dc=DB510&dc=DB550&q1=fglsys&uid=swg21108090&loc=en_US&cs=utf-
8&lang=en
> Hello Neil
>
[quoted text clipped - 92 lines]
> >
> > Thanks for your continued interest everyone, esp Jonathan!
Paul Watson - 29 Jul 2005 16:10 GMT
Thought SUNWspro replace cc with a link to the real compiler
>>> r4gl -V
>>
[quoted text clipped - 71 lines]
>> *** Error code 1
>> make: Fatal error: Command failed for target `run4gl'

Signature
Paul Watson #
Oninit Ltd # Growing old is mandatory
Tel: +44 1436 672201 # Growing up is optional
Fax: +44 1436 678693 #
Mob: +44 7818 003457 #
www.oninit.com #
Tsutomu Ogiwara - 29 Jul 2005 07:32 GMT
/opt/SUNWspro/bin/ is right path.
Make sure your PATH variable /opt/SUNWspro/bin before /usr/ucb.
e.g)
PATH=/opt/SUNWspro/bin:$PATH
OR
PATH=/opt/SUNWspro/bin:/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb
Regards.
--
Tsutomu Ogiwara from Tokyo Japan.
ICQ#:168106592
>From: "Neil Truby" <neil.truby@ardenta.com>
>Reply-To: "Neil Truby" <neil.truby@ardenta.com>
[quoted text clipped - 77 lines]
>*** Error code 1
>make: Fatal error: Command failed for target `run4gl'
sending to informix-list
Neil Truby - 29 Jul 2005 17:24 GMT
>> r4gl -V
> IBM INFORMIX-4GL Version 7.32.FC3
[quoted text clipped - 4 lines]
> My colleague has raised a tech support call but I don;t think it has been
> acknowledged yet.
... because we sent it to the wrong address. D'Oh!
Call is 436629 if anyone's interested.