🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49736

gcc, SunOS, modload -- Undefined symbol: _memcpy

#49736
From: Maximilian Ott
Date: Mon, 13 Dec 1993 23:22
23 lines
1165 bytes
We wanted to load a driver module on a sparc (4.1.3) with "modload".
When we compiled the module with "gcc" we get:

ld: Undefined symbol
   _memcpy

Everything is fine using sun's "cc". I should add that we don't even
use memcpy in our driver. I even tried:

-fno-builtin -fno-gnu-linker  = -fno-luck !

Anyone having an idea what's going on?

Regards,

max




-- 
Max Ott                 max@ccrl.nj.nec.com         phone: (609)951-2469
C&C Research, NEC USA   Princeton, NJ, 08540        fax:   (609)951-2499
Technical Details
Message-ID: <1993Dec13.232223.6765@research.nj.nec.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!newsserver.jvnc.net!nj.nec.com!max
References: <1993Dec13.173143.17564@ocsystems.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3edacdb33b7c0fe9
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-14 01:49:49 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!newsserver.jvnc.net!nj.nec.com!max
From: max@ccrl.nj.nec.com (Maximilian Ott)
Subject: gcc, SunOS, modload -- Undefined symbol: _memcpy
Message-ID: <1993Dec13.232223.6765@research.nj.nec.com>
Sender: news@research.nj.nec.com
Organization: C&C Research Labs, NEC USA, Princeton, N.J.
References: <1993Dec13.173143.17564@ocsystems.com>
Date: Mon, 13 Dec 93 23:22:23 GMT
Lines: 23