linker errors

A.P. Rao
Sun, 3 Aug 2003 21:50:16 -0700 (PDT)


  I am getting  an "undefined reference" error listed
below when I try to
  build my program. I am able to successfully compile
and link a trivial
  "Hello World" program, but not my application code.

  I tried 3 different versions of ghc (5.04.3, 6.0 and
6.0.1) on my
  redhat-9 linux pc. The gcc compiler is at version
3.2.2 (gcc (GCC)
  3.2.2 20030222 (Red Hat Linux 3.2.2-5)). I even
tried the ghc 6.0.1
  compiler built on my own pc. The result is the same.

AsnParser.o(.text+0x21139): In function `r2CD0_entry':
: undefined reference to `DataziTuple_Z73T_con_info'
collect2: ld returned 1 exit status

  Any suggestions as to what may be causing this and
how I can get rid
  of it. To me, it looks like a code-generation bug on
ghc's side.

A.P. Rao

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software