各位大侠,帮助下小弟,初学TUXEDO编程,碰到如下问题:
ld: Mismatched Data ABI. Expected EF_IA_64_ABI64 but found None in file TcpCallGold.o
Fatal error.
CMDTUX_CAT:1832: ERROR: can't execute cc +DD64 +Olit=all -Wl,+s -D__BIGMSGQUEUE_ENABLED -mt -I$TUXDIR/include -o GOLDFRONT BS-5ce0.c -L${TUXDIR}/lib TcpCallGold.o goldfront.o -ltux -lbuft -lfml -lfml32 -lengine -lnsl /home/tux/src/goldfront/libtcp.a /home/tux/src/goldfront/libiniparser.a -lc -lpthread -lcurses -lm -L/home/oracle/oracle/product/9.2.0/tuxedo10gR3/lib
*** Error exit code 1
Makefile文件为:
CC = cc
CFLAGS = -O2 -D_H_LOCALEDEF -fast -D_HP_UNIX -D_DEBUG
TC = buildclient
TS = buildserver
OBJS=TcpCallGold.o goldfront.o
SRCCFLGS = -I${HOME}/include -I${TUXDIR}/include -I/software/gcc/gcc-4.4.1/gcc/ginclude
TUXLDFLAGS = -lc -lpthread -lcurses -lm -L${TUXDIR}/lib
COMMONLIB = $(HOME)/src/goldfront/libtcp.a $(HOME)/src/goldfront/libiniparser.a
TARGETS = GOLDFRONT
all: ${TARGETS}
COMPILE.c=$(CC) $(CFLAGS) -c -g $(SRCCFLGS)
.c.o:
@(echo "compiling $< ...")
@($(COMPILE.c) -o $@ $< $@)
# $(CC) $(CFLAGS) -c -g $(SRCCFLGS) -o $@ "$?"
$(TARGETS):$(OBJS)
$(TS) -s GOLDFRONT -o $@ -v -f "$?" -l "$(COMMONLIB)" -l "$(TUXLDFLAGS)"
mv $(TARGETS) ${HOME}/bin/
clean:
rm -f *.o core
make之后就报错。求大侠们帮忙看看啊。谢谢了!
--友情转载