>hi folks, > >I cannot compile in Solaris 9. >BTW how come it won't compile in 64 bit? >$ isainfo -b >64 > >Thanks >Ken > >----------------------------------------------------------------- >gcc -m32 -g -I../.. -DSOLARIS2=9 -DIPFILTER_LOG sparcv7/fils.o >sparcv7/parse.o sparcv7/kmem.o sparcv7/opt.o sparcv7/inet_addr.o >sparcv7/facpri.o sparcv7/common.o sparcv7/printstate.o -o sparcv7/ipfstat >-lsocket -lnsl -lelf -lcurses -lkvm >Undefined first referenced >symbol in file >wattr_off sparcv7/fils.o >wattr_on sparcv7/fils.o
This is a typical ncurses/curses conflict: you've probably got a file /usr/local/include/curses.h which is used by gcc in preference of the system's /usr/include/curses.h Move the offending curses.h file out of the way (e.g., to ncurses.h) make clean and recompile. Casper
