From: Patrick H. <pa...@in...> - 2005-01-12 23:51:37
|
Patrick Hartling wrote: > Doug McCorkle wrote: > >> Hello, >> >> We are using Doozer with our Juggler app and are running into problems on >> IRIX with Beta 1. The error occurs during the link stage only. During >> linking the library path that is returned by the config scripts for the >> deps dir gets truncated. For example if my deps dir is: >> >> (PATH_TO_DIR)/IRIX32-pthread >> >> what is returned by vrjuggler-config: >> >> vrjuggler-config vrj_pf --libs N32 --min --extra-libs >> -L/home/vr/Applications/TSVEG/Libraries/vrjuggler-2.0b1/IRIX32-pthread/lib32 >> >> -n32 -mips3 -lvrj_pf >> -L/home/vr/Applications/TSVEG/Libraries/vrjuggler-2.0b1-deps/IRIX32/lib32 >> -B dynamic -lpf -lpfdu -lpfui -lpfutil -limage -lGLU -lGL -lSM -lICE >> -lX11 >> -lm >> >> You will notice that the -pthread got truncated from the deps lib >> path. Is >> this problem caused by something that I did in my build or in incorrectly >> setting up my environment? Thanks for the help. > > > No, the problem is in the *-config scripts. There is some > post-processing performed on the compiler and linker command lines to > ensure correct ordering of arguments and to remove duplicated arguments. I was wrong about this. The *-config scripts appear to me to be matching the -pthread argument correctly without confusing it with a substring in a path name. Could you provide some more information about what's going on: * Is it only happening with vrjuggler-config, or does it happen with other -config scripts? * Do you have both $VJ_BASE_DIR and $VJ_DEPS_DIR set? * What are the values of $VJ_BASE_DIR and $VJ_DEPS_DIR (if it is set)? -Patrick -- Patrick L. Hartling | VP Engineering, Infiscape Corp. PGP: http://tinyurl.com/2msw3 | http://www.infiscape.com/ |