http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53275

             Bug #: 53275
           Summary: GCC-4.4.4 gives error: ld: fatal: Symbol referencing
                    errors. No output written to sparc_SunOS
    Classification: Unclassified
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: birender.si...@hotmail.com


Compiling the testcode using gcc-4.4.4 32bit[configure and build it on this
same machine sorlais sparc 10] on Sorlais10 Sparc machine. Following error
received while compiling using gcc-4.4.4 


../prodStartLicTest/prodStartLicTest.h:643: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h:801: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h:802: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h:803: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h:804: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h: In member function 'int
prodStartLicTest::verifyDecryptedText(char*)':
../prodStartLicTest/prodStartLicTest.h:1368: warning: cannot pass
objects of non-POD type 'struct std::string' through '...'; call will
abort at runtime
../prodStartLicTest/prodStartLicTest.h: In member function 'void
prodStartLicTest::prodStartEnumTest(char*, const char*, int,
SLIC_STATUS)':
../prodStartLicTest/prodStartLicTest.h:1516: warning: deprecated
conversion from string constant to 'char*'
../prodStartLicTest/prodStartLicTest.h: In member function 'void
prodStartLicTest::prodStartEnumTest(char*, const char*, int,
SLIC_STATUS, int, int)':
../prodStartLicTest/prodStartLicTest.h:1699: warning: deprecated
conversion from string constant to 'char*'
../../../nobuilds/bin/fipsld -m32  -o sparc_SunOS_32/release/SuiteMain
sparc_SunOS_32/release/SuiteMain.o -L/els/install/staf/lib -lSTAF
-L../../../nobuilds/
lib/sparc_SunOS_32/release -lslic -lPoco -lopenssl -lm -lstdc++
../SlicTestLib/sparc_SunOS_32/release/libSlicTest.a
../../../nobuilds/lib/sparc_SunOS_32/rele
ase/libslic.a ../../../nobuilds/key/sparc_SunOS_32/release/slic_devkey.o
-lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
inet_aton
../../../nobuilds/lib/sparc_SunOS_32/release/libPoco.a(IPAddress.o)
(symbol belongs to implicit dependency /usr/lib/libr
esolv.so.2)
sched_get_priority_max
../../../nobuilds/lib/sparc_SunOS_32/release/libPoco.a(Thread.o)
sched_get_priority_min
../../../nobuilds/lib/sparc_SunOS_32/release/libPoco.a(Thread.o)
ld: fatal: Symbol referencing errors. No output written to
sparc_SunOS_32/release/SuiteMain
collect2: ld returned 1 exit status
make[3]: *** [sparc_SunOS_32/release/SuiteMain] Error 1
make[3]: Leaving directory `/trunk/qa/SuiteMain'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/trunk/qa/SuiteMain'
make[1]: *** [all_subdirs] Error 1
make[1]: Leaving directory `/trunk/qa'
make: *** [all] Error 2


please provide help to resolve the above error.

Reply via email to