I have to assume that you're not linking against some system library. However, I think you're asking this question in the wrong place.
This list is about the compilers and tools related to OpenSolaris. I've never heard of the Diab compiler, but a quick google search tells me that it is a compiler sold by Wind River to produce code for embedded targets (including sparc, which I'm guessing is how you ended up here). That, and the fact that your output below includes DOS file paths, tells me that this is not a Unix or OpenSolaris issue. I'd recommend trying to find a different community to ask this question from --- one based around Wind River products. Good luck! - Ali vijaybhaskar wrote: > Hi, > I am Vijay Bhaskar. I am facing some linking problems while > running the program in Diab compiler. > > For referrence i am pasting the linking problem below. > > Undefined symbol 'atan2' in file 'filename.o' > > After that i have added the corresponding library function in > linker options (libm.a) to avoid this problem. > > I got rid of above probelm, but i am facing some other problem > which is also pasated below. > > Undefined symbol > > '__errno_fn' in file 'atan2.o(C:\diab\5.2.1.0\PPCEH\libm.a > > I am unable to resolve the above problem. > > Can u please provide me the solution to avoid the above problem > > (or) > > Can u please provide me any new solution, whenver we are using > liabrary functions like atan (or) sqrt. > > Kindly do the needful. > > Regards, > Vijay Bhaskar > -- > This message posted from opensolaris.org > _______________________________________________ > tools-compilers mailing list > tools-compilers at opensolaris.org
