11099 libfksmbsrv Makefiles need updating on SPARC too

Review Request #1890 — Created May 31, 2019 and submitted — Latest diff uploaded

ptribble
illumos-gate
11099
general

A SPARC build fails with:

Undefined first referenced
symbol in file
smbsrv_pcap_dump dmod/smbsrv.o
smbsrv_pcap_open dmod/smbsrv.o
smbsrv_pcap_close dmod/smbsrv.o
ld: fatal: symbol referencing errors. No output written to dmod/libfksmbsrv.so

We need to update

usr/src/cmd/mdb/sparc/v7/libfksmbsrv/Makefile

and

usr/src/cmd/mdb/sparc/v9/libfksmbsrv/Makefile

to add smbsrv_pcap.c to MODSRCS, the same way the intel Makefiles were updated in #10962

Build no longer has the error after the fix.

Loading...