public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 4.1.1 C++ in Minix3 OS : new and delete problem...
@ 2007-12-06 15:34 yantux yantux
  2007-12-07  8:21 ` 龙海涛
  2007-12-08 23:44 ` yantux yantux
  0 siblings, 2 replies; 3+ messages in thread
From: yantux yantux @ 2007-12-06 15:34 UTC (permalink / raw)
  To: gcc-help


I use gcc 4.1.1 in Minix3 OS

I was wrote question about compiling C++ by gcc 4.1.1 in Minix3.

What menas this is error?
/usr/local/gnu/lib/libfltk.a(Fl_Group.o):Fl_Group.o:(.text+0x780): 
undefined reference to `operator delete[](void*)' 
/usr/local/gnu/lib/libfltk.a(Fl_Group.o):Fl_Group.o:(.text+0xa03): 
undefined reference to `operator new[](unsigned long)' 
/usr/local/gnu/lib/libfltk.a(Fl_arg.o):Fl_arg.o:(.text+0x654): 
undefined reference to `operator new[](unsigned long)' 
/usr/local/gnu/lib/libfltk.a(Fl_arg.o):Fl_arg.o:(.text+0x69f): 
undefined reference to `operator delete[](void*)'

How correct compile C++ programm? What bad settings and flag in make.sh sript?

Sorry for my english.
Thank you.

Best regards,
Yantux.

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

* Re: gcc 4.1.1 C++ in Minix3 OS : new and delete problem...
  2007-12-06 15:34 gcc 4.1.1 C++ in Minix3 OS : new and delete problem yantux yantux
@ 2007-12-07  8:21 ` 龙海涛
  2007-12-08 23:44 ` yantux yantux
  1 sibling, 0 replies; 3+ messages in thread
From: 龙海涛 @ 2007-12-07  8:21 UTC (permalink / raw)
  To: yantux yantux; +Cc: gcc-help

On Thu, 2007-12-06 at 18:34 +0300, yantux yantux wrote:
> I use gcc 4.1.1 in Minix3 OS
> 
> I was wrote question about compiling C++ by gcc 4.1.1 in Minix3.
just tell us what options you use *exactly*
> 
> What menas this is error?
> /usr/local/gnu/lib/libfltk.a(Fl_Group.o):Fl_Group.o:(.text+0x780): 
> undefined reference to `operator delete[](void*)' 
> /usr/local/gnu/lib/libfltk.a(Fl_Group.o):Fl_Group.o:(.text+0xa03): 
> undefined reference to `operator new[](unsigned long)' 
> /usr/local/gnu/lib/libfltk.a(Fl_arg.o):Fl_arg.o:(.text+0x654): 
> undefined reference to `operator new[](unsigned long)' 
> /usr/local/gnu/lib/libfltk.a(Fl_arg.o):Fl_arg.o:(.text+0x69f): 
> undefined reference to `operator delete[](void*)'
i guess in your project there are some .c and .cpp file,this kind of
problem may happen when you combine them togther. Or maybe when you 
compiler a cpp project, you use gcc instead of g++. 

just guess.

> 
> How correct compile C++ programm? What bad settings and flag in make.sh sript?
could you tell us the *exact* context of make.sh? 

> 
> Sorry for my english.
> Thank you.
> 
> Best regards,
> Yantux.

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

* Re: gcc 4.1.1 C++ in Minix3 OS : new and delete problem...
  2007-12-06 15:34 gcc 4.1.1 C++ in Minix3 OS : new and delete problem yantux yantux
  2007-12-07  8:21 ` 龙海涛
@ 2007-12-08 23:44 ` yantux yantux
  1 sibling, 0 replies; 3+ messages in thread
From: yantux yantux @ 2007-12-08 23:44 UTC (permalink / raw)
  To: gcc-help

>Or maybe when you compiler a cpp project, you use gcc instead of g++. 

Yes, gcc can not compiling *.cpp in Minix3, g++ compiling *.cpp without errors.


Thank you.

Best regards,
Yantux. 

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

end of thread, other threads:[~2007-12-08 23:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-06 15:34 gcc 4.1.1 C++ in Minix3 OS : new and delete problem yantux yantux
2007-12-07  8:21 ` 龙海涛
2007-12-08 23:44 ` yantux yantux

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 read-only IMAP folder(s) and NNTP newsgroup(s).