Starting over by creating an entirely new project.

mkdir ~/fdaq/v3mary
cp -r /fnal/ups/prd/cdfvme_teststand/v1_1/NULL/* .
./newTestStand fdaq pfred pfredsumet

Edit ups/fdaq.table and remove any -native flags

ups declare -f NULL -r $PWD -M ups -m fdaq.table fdaq v3mary
setup fdaq v3mary

In fdaq, run

grep swing *

In all the files that come up, edit them so that any line that reads:
import com.sun.java.swing…
reads as
import javax.swing…

Back in $FDAQ_DIR, run gmake.

Now it’s complaining about the pfred package not being here. So go back to your home area and do the setup for pfred.

mkdir pfred
mkdir pfred/v3mary
cd pfred/v3mary
cp -r /fnal/ups/prd/cdfvme_template/v1.1/* .
./newPackage pfred pfredsumet
ups declare -f NULL -r $PWD -M ups -m pfred.table pfred v3mary
setup pfred v3mary

Edit the pfred/*java files for com.sun.java.swing and change to javax.swing

gmake

We’re back to this error of getting:

g -I/fnal/ups/prd/cdfvme_common/Linux+2/v3.0/server/crate -I/fnal/ups/prd/robin/v2_4_10/NULL/include -I/fnal/ups/prd/fision/v2_16/include                                                  pfredsumet_able.c -o ../lib///pfredsumet_able.o
gmake[1]: g: Command not found

I’m sure this should be gcc commands running, but I don’t know why they’re not.

I edited the file make.rules and changed:

[maryh@blue server]$ diff make.rules make.rules.ORIG 
8c8
< CFLAGS = gcc -g -I$(CDFVME_COMMON_DIR)/server/crate \
---
> CFLAGS = -g -I$(CDFVME_COMMON_DIR)/server/crate \

Now I get an error about vxWorks.h: No such file or directory

I’d like to just setup vxworks, but it hasn’t been declared.

I tried a bunch of different ways of declaring vxworks, but I always get errors when I try to run setup vxworks (and I tried a bunch of different parameters after this). So, my main problem is that gmake can’t find vxWorks.h when compiling. This file is in /fnal/ups/prd/vxworks/v5_3b/target/h. I should be able to manually add this directory and all will be good.

Tried manually setting CFLAGS and CPPFLAGS to the h directory above, but it didn’t matter.

Got desperate. In /fnal/ups/prd/vxworks/v5_3c/ups/vxworks-powerpc.table, commented out this line:

# setupRequired(“-H VxWorks+5.3.1 vxworks_powerpc ${UPS_PROD_VERSION}”)

ups declare -f NULL -H VxWorks+5.3 -q ppc -r $PWD -M ups -m vxworks-powerpc.table vxworks v5_3c -c
setup vxworks -q ppc

Ok, now we’re getting somewhere. UNMAKE the change to make.rules because got some other weirdness with the gcc commands.

Now things ran for a bit before we got errors. Here is the part of the output that concerns me:

cd ../..; ridl -repository=server/interface_rep -language=Java-client -JavaPrefix=pfred server/pfredsumet/pfredsumetVme.idl
../extendBoard pfredsumet
../extendBoard pfredsumetClient
../addDummyConstructor pfredsumetClient
javac pfredsumet.java
javac pfredsumetClient.java
pfredsumetClient.java:86: cannot find symbol
symbol  : method _get_implementation()
location: interface org.omg.CORBA.Object
    return( ourObject._get_implementation() );
                     ^
pfredsumetClient.java:90: cannot find symbol
symbol  : method _get_interface()
location: interface org.omg.CORBA.Object
    return( ourObject._get_interface() );
                     ^
pfredsumetClient.java:105: cannot find symbol
symbol  : method _create_request(org.omg.CORBA.Context,java.lang.String,org.omg.CORBA.NamedValue,org.omg.CORBA.ExceptionList,org.omg.CORBA.ContextList)
location: interface org.omg.CORBA.Object
    return( ourObject._create_request( ctx, operation, result, exclist, ctxlist ) );
                     ^
3 errors

This CORBA stuff is all from the robin package. I did set up the latest version of robin v2_4_10. So, I’m not sure what to do next.