Neale Ferguson writes: > When building $SRC/cmd/agents/snmp/snmprelayd I get the following message > from the linker: > > Undefined first referenced > symbol in file > yywrap bin-sparc/config.o > ld: fatal: Symbol referencing errors. No output written to snmpdx > > yywrap() is defined in libssagent.so but it only has a local scope due to the > mapfile used during the link phase. yywrap() isn't defined in config.c. Can > anyone with a working build locate where this should be defined?
yywrap() should be coming from '-ll' which loads /usr/lib/libl.so.1 -- see the lex(1) man page. At a guess, something you're doing is overriding LIBS, or (perhaps) the library itself is damaged on your system. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code