ld Compiler Error

"Rolland, Dr. Jeffrey" <[email protected]> Sat, 25 Aug 2018 16:31:12 +0000
Newsgroups gmane.comp.statistics.dap.bugs
Message-ID <BN7PR08MB422812AF3F1B98B71F76D4EDC2350@BN7PR08MB4228.namprd08.prod.outlook.com>
Hi!=0A=
=0A=
I just installed DAP; I used to use SAS as a part of my job, so I'm=0A=
really excited for a FOSS version of SAS.=0A=
=0A=
I've been getting an error compiling one of the example files, both as=0A=
two.sbs and two.c. The error I get is=0A=
=0A=
/usr/bin/x86_64-linux-gnu-ld: <snip - could not copy>: relocation=0A=
R_X86_64_32S against undefined symbol 'dap_obs' can not be used when=0A=
making a PIE object; recompile with -fPIC=0A=
=0A=
There are several other similar errors, all complaining about=0A=
recompiling with -fPIC.=0A=
=0A=
Since it is a sample program, I don't think the error is with the code=0A=
that's copied-and-pasted.=0A=
=0A=
Can you help?=0A=
=0A=
Sincerely,=0A=
-- =0A=
Jeffrey Rolland=0A=
<[email protected]>=0A=
=0A=
Adjunct Assistant Professor of Mathematics=0A=
Milwaukee School of Engineering=0A=
Walter Schroeder Library=0A=
Room L-322=0A=
Milwaukee, WI 53202=0A=
(414) 277-2523=0A=