Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2001 23:50:18 -0700 (PDT)
From:      Adrian Dewhurst <dewhursta@edgenetwk.com>
To:        <freebsd-questions@freebsd.org>
Cc:        Chris Cameron <ccameron@edgenetwk.com>
Subject:   4.3-RELEASE compile error in maestro3.c
Message-ID:  <Pine.LNX.4.33.0106252344330.9549-200000@fusion.edgenetwk.com>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--1312841417-150406072-993538218=:9549
Content-Type: TEXT/PLAIN; charset=US-ASCII

When compiling a custom kernel (4.3-RELEASE), I get the following error:
===> sound/driver/maestro3
cc -O -pipe  -Wall -DM3_DEBUG_LEVEL=-1  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@ -I/usr/include  -mpreferred-stack-boundary=2 -c /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c
In file included from @/pci/pcivar.h:171,
                 from /usr/src/sys/modules/sound/driver/maestro3/../../../../dev/sound/pci/maestro3.c:61:
pci_if.h:21: syntax error before `device_op_desc'
pci_if.h:21: warning: type defaults to `int' in declaration of `pci_write_config_desc'
pci_if.h:21: warning: data definition has no type or storage class
*** Error code 1

The config file used is attached. It doesn't even have any sound drivers
listed to be compiled in :-(

I was wondering what is wrong... I'm assuming it's my fault right now, but
I don't see where.

I did:
cd /sys/i386/conf
cp GENERIC SONIC
vi SONIC
<edit, adding IPFILTER, IPFILTER_LOG, and removing unneeded devices>
config SONIC
cd ../../compile/SONIC
make depend
make

I'd appreciate any insight anyone would have on this problem. Thanks.

-- 
Adrian "SailorFrag" Dewhurst
dewhursta@edgenetwk.com / sailor@sailorfrag.net -=- ICQ: 1912951

--1312841417-150406072-993538218=:9549
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=SONIC
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0106252350180.9549@fusion.edgenetwk.com>
Content-Description: Configuration
Content-Disposition: attachment; filename=SONIC

bWFjaGluZSAgICAgICAgIGkzODYNCmNwdSAgICAgICAgICAgICBJNTg2X0NQ
VQ0KaWRlbnQgICAgICAgICAgIFNPTklDDQptYXh1c2VycyAgICAgICAgMzIN
Cg0Kb3B0aW9ucyAgICAgICAgIElORVQgICAgICAgICAgICAgICAgICAgICNJ
bnRlck5FVHdvcmtpbmcNCm9wdGlvbnMgICAgICAgICBGRlMgICAgICAgICAg
ICAgICAgICAgICAjQmVya2VsZXkgRmFzdCBGaWxlc3lzdGVtDQpvcHRpb25z
ICAgICAgICAgRkZTX1JPT1QgICAgICAgICAgICAgICAgI0ZGUyB1c2FibGUg
YXMgcm9vdCBkZXZpY2UgW2tlZXAgdGhpcyFdDQpvcHRpb25zICAgICAgICAg
U09GVFVQREFURVMgICAgICAgICAgICAgI0VuYWJsZSBGRlMgc29mdCB1cGRh
dGVzIHN1cHBvcnQNCm9wdGlvbnMgICAgICAgICBORlMgICAgICAgICAgICAg
ICAgICAgICAjTmV0d29yayBGaWxlc3lzdGVtDQpvcHRpb25zICAgICAgICAg
TVNET1NGUyAgICAgICAgICAgICAgICAgI01TRE9TIEZpbGVzeXN0ZW0NCm9w
dGlvbnMgICAgICAgICBDRDk2NjAgICAgICAgICAgICAgICAgICAjSVNPIDk2
NjAgRmlsZXN5c3RlbQ0Kb3B0aW9ucyAgICAgICAgIFBST0NGUyAgICAgICAg
ICAgICAgICAgICNQcm9jZXNzIGZpbGVzeXN0ZW0NCm9wdGlvbnMgICAgICAg
ICBDT01QQVRfNDMgICAgICAgICAgICAgICAjQ29tcGF0aWJsZSB3aXRoIEJT
RCA0LjMgW0tFRVAgVEhJUyFdDQpvcHRpb25zICAgICAgICAgVUNPTlNPTEUg
ICAgICAgICAgICAgICAgI0FsbG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NlICBnaWYgICAgIDQgICAgICAgIyBJUHY2IGFuZCBJUHY0IHR1
bm5lbGluZw0KI3BzZXVkby1kZXZpY2UgIGZhaXRoICAgMSAgICAgICAjIElQ
djYtdG8tSVB2NCByZWxheWluZyAodHJhbnNsYXRpb24pDQoNCiMgVGhlIGBi
cGYnIHBzZXVkby1kZXZpY2UgZW5hYmxlcyB0aGUgQmVya2VsZXkgUGFja2V0
IEZpbHRlci4NCiMgQmUgYXdhcmUgb2YgdGhlIGFkbWluaXN0cmF0aXZlIGNv
bnNlcXVlbmNlcyBvZiBlbmFibGluZyB0aGlzIQ0KcHNldWRvLWRldmljZSAg
IGJwZiAgICAgICAgICAgICAjQmVya2VsZXkgcGFja2V0IGZpbHRlcg0K
--1312841417-150406072-993538218=:9549--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0106252344330.9549-200000>