comp.lang.ada
 help / color / mirror / Atom feed
* Ada Linker Problem!
@ 1996-09-27  0:00 Stanley Fung
  0 siblings, 0 replies; only message in thread
From: Stanley Fung @ 1996-09-27  0:00 UTC (permalink / raw)



We are having a weird problem and looking for help to find out why!

We are developing a product which is written in Ada, C and TeleUSE.  In
the past, we didn't have any problem.  Since couple month ago, we found
out that some users are able to create executables, but others don't. 
We are using the same version of OS, compiler and linker.  Nothing has
been updated.  After investigation, I found out that the difference is
the way that the Ada linker invokes the ls command.  

Here is the ald command:
ald -A "@/usr/users/sfung/shore/alib" -o coed
-L-L/usr/users/sfung/shore/libs -L-L/sw/sybase/lib  -L-L/sw/teleuse/lib 
-L-L/sw/hoops-3.30-23-classic/source  -L-non_shared -j elab_COED COED 
-a coed_ada_init.o  -a osys_d_system.o -a parm_d_read_parameter.o -a
uxb_dtbl.o  -a uxb_bmps.o   -a uxb_main.o -a uxb_flg.o   -a uxb_gui.o -a
mhmi_digits_only.o -a mhmi_validate_text.o  -a coed_image_ops.o  -a
coed_util.o -a coed_flip.o  -a coed_edit.o  -a /sw/teleuse/lib/xm_c.o  
-ld  -lXtwit -lXmwit -lteleuse -lguis -lhoops -lXm -lXmu -lXext -lXt
-lX11 -lPW -lcoed -llead -limag -lsobj -lgeoc -ldbut -lgmcc  -ltsds
-lpcit -lisis -lmhmi  -losys -lparm -lierr -lstrg -ltime -llist -lmmug
-lrt -losys -lmosc -losys  -lsybs -lct -lcs -lcomn -ltcl -lintl -ls
dna -linsck -ldnet_stub -lm

The only difference when it runs by difference users is the name of the
directory "sfung", which the user home directory.  The files are the
same.

The ald invokes the ld command is the problem.  For some users, the ld
command looks like this:
-call_shared -L/usr/users/sfung/shore/libs -L/sw/sybase/lib
-L/sw/teleuse/lib -L
/sw/hoops-3.30-23-classic/source -non_shared -o coed ........
following by all the object files.

For some other user, they get this:
-r -o ald_000000_xxxxxxxxxxxxxx.o .........
following by all the object files.

I checked all the environment variables, dot files and elaboration
file.  They are the same.  There is no error message, but just no
executable is created.  The build is done by night, so the system load
should be low.  Now I stall at a dead end street.  I need some ideas. 
Does anyone have similar problem or can point some directions?  I really
appreciate that!  Thanks in advance.

--
Stanley Fung
Software Engineer
MacDonald Dettwiler and Associates Ltd.
13800 Commerce Parkway, Richmond, BC, V6V-2J3
Tel:(604)231-2118           Fax:(604)278-4716




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-27  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-27  0:00 Ada Linker Problem! Stanley Fung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox