c++/9395: Symbol referencing errors.

dhighley@highley-recommended.com dhighley@highley-recommended.com
Wed Jan 22 02:05:00 GMT 2003


>Number:         9395
>Category:       c++
>Synopsis:       Symbol referencing errors.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 22 01:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Highley
>Release:        3.2.1
>Organization:
>Environment:
Solaris 8 Sparc platform
>Description:
Seem to have an undefined reference:
gcc -g -O2 -o mk-dirs_h mk-dirs_h.o  -L/usr/local/bin -R/usr/local/bin
Undefined			first referenced
 symbol  			    in file
std::ios_base::Init::~Init [in-charge]()mk-dirs_h.o
std::ios_base::Init::Init[in-charge]()mk-dirs_h.o
std::cout                           mk-dirs_h.o
std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)mk-dirs_h.o
__gxx_personality_v0                mk-dirs_h.o
ld: fatal: Symbol referencing errors. No output written to mk-dirs_h
collect2: ld returned 1 exit status
*** Error code 1


I did do a search of the bug database before submitting this.
>How-To-Repeat:
Down load aspell from http://aspell.net/ version 0.53.3
CC=gcc CXX=gcc ./configure --with-PACKAGE=yes
make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list