9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] malloc redefinition when linking pcc with 8c programs
@ 2003-12-01 18:13 mirtchov
  2003-12-01 19:43 ` Russ Cox
  0 siblings, 1 reply; 13+ messages in thread
From: mirtchov @ 2003-12-01 18:13 UTC (permalink / raw)
  To: 9fans

I'm having this problem I can't get around -- trying to link .8 files
compiled with ape/pcc and .8 files compiled with 8c I get the
following:

	malloc: /386/lib/libc.a(mallocz): redefinition: malloc
	(1012)	TEXT	malloc+0(SB),$24
	free: /386/lib/libc.a(mallocz): redefinition: free
	(1041)	TEXT	free+0(SB),$12
	realloc: /386/lib/libc.a(mallocz): redefinition: realloc
	(1049)	TEXT	realloc+0(SB),$28
	calloc: /386/lib/libc.a(mallocz): redefinition: calloc
	(1078)	TEXT	calloc+0(SB),$24
	atexit: /386/lib/libc.a(exits): redefinition: atexit
	(776)	TEXT	atexit+0(SB),$16

Any ideas?

andrey



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-12-02  0:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-01 18:13 [9fans] malloc redefinition when linking pcc with 8c programs mirtchov
2003-12-01 19:43 ` Russ Cox
2003-12-01 20:00   ` mirtchov
2003-12-01 20:54     ` Latchesar Ionkov
2003-12-01 21:20       ` boyd, rounin
2003-12-01 21:43       ` andrey mirtchovski
2003-12-01 21:53         ` Russ Cox
2003-12-01 22:13           ` mirtchov
2003-12-01 23:05             ` Hugo Santos
2003-12-01 23:10               ` Russ Cox
2003-12-01 23:21                 ` Hugo Santos
2003-12-02  0:05                   ` David Arnold
2003-12-01 21:11     ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).