liujun wrote:
Thanks,
the other action:

#gcc -D_KERNEL -c dummy.c
#ctfconver -g -l LBL dummy.o

ERROR:ctfconvert:dummy.o doesn't have type data to convert removing dummy.o

what can i do for the error message?

As I wrote earlier:


The stabs message means (iirc) that you need to add the

-gdwarf-2

argument to your gcc command line.

So you'd use a command line like this:


gcc -D_KERNEL -gdwarf-2 -c dummy.c





James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
              http://www.jmcp.homeunix.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to