🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3432

extern inline

#3432
From: sinbad
Date: Mon, 22 Jun 2009 19:31
14 lines
1645 bytes
hi,

i have a static library "s.a" which will be linked with binary object
of a.c;
"s.a" has one extern iline definiton fun(), when i tried to compile
both s.a and a.c
with -finstrument-functions option, while linking i am getting
undefined refrerence
to function fun(), if i remove the -finstrument-functions option
everything goes well.
does "extern inline" and gcc's -finstrument-functions doesn't go well
together.

thanks
Technical Details
Message-ID: <cb455e1f-2793-4463-aa34-f647aae7d6cb@d19g2000prh.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!d19g2000prh.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1200bcf240,a5b70c4c9465f8d4,start
X-Google-Attributes: gid1200bcf240,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!d19g2000prh.googlegroups.com!not-for-mail
From: sinbad <sinbad.sinbad@gmail.com>
Newsgroups: comp.unix.programmer,gnu.gcc.help
Subject: extern inline
Date: Mon, 22 Jun 2009 12:31:29 -0700 (PDT)
Organization: http://groups.google.com
Lines: 14
Message-ID: <cb455e1f-2793-4463-aa34-f647aae7d6cb@d19g2000prh.googlegroups.com>
NNTP-Posting-Host: 66.243.153.70
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1245699090 17527 127.0.0.1 (22 Jun 2009 19:31:30 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 22 Jun 2009 19:31:30 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: d19g2000prh.googlegroups.com; posting-host=66.243.153.70; 
 posting-account=YM05VwoAAABfhqQvMhVh5BYqiwLHuZYv
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) 
 Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)