Hi,

I'm trying to compile the maxdb tools on Solaris/Sparc. I get the
following error, which seems to indicate that ld cannot find the main
function:

xml2ispc.lnk fast 
/usr/bin/perl ${TOOLDIR}/bin/linklnk.pl \
        -o \
        xml2ispc.f \
        -tooloption=CXX \
        ../obj//expat.rel.o \
        ../obj/idl/xml2ispc/IspcCGenHFile.o \
        ../obj/idl/xml2ispc/IspcCGenInspecCode.o \
        ../obj/idl/xml2ispc/IspcIdl2Code.o \
        ../obj/idl/xml2ispc/IspcErrorHandling.o \
        ../obj/idl/xml2ispc/Ispc_InterfaceTypeList.o \
        ../obj/idl/xml2ispc/Ispc_InterfaceStructRegistry.o \
        ../obj/idl/xml2ispc/Ispc_InterfaceConstList.o 
Undefined                       first referenced
 symbol                             in file
main                                /opt/SUNWspro/prod/lib/crt1.o
ld: fatal: Symbol referencing errors. No output written to xml2ispc
Error while executing CC -mt -o xml2ispc -L${TOOLDIR}/lib
-L${TOOLDIR}/usr/lib ../obj//expat.rel.o
../obj/idl/xml2ispc/IspcCGenHFile.o
../obj/idl/xml2ispc/IspcCGenInspecCode.o\
 ../obj/idl/xml2ispc/IspcIdl2Code.o
../obj/idl/xml2ispc/IspcErrorHandlin\
g.o ../obj/idl/xml2ispc/Ispc_InterfaceTypeList.o
../obj/idl/xml2ispc/Isp\
c_InterfaceStructRegistry.o
../obj/idl/xml2ispc/Ispc_InterfaceConstList.o ${TOOLDIR}/lib/libsqlptc.a
-lcurses -Bdynamic -lm -lsocket -lnsl


Has anybody seen that error before?

- Chris


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to