bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnumach dde.o not linked in gnumach


From: Shakthi Kannan
Subject: gnumach dde.o not linked in gnumach
Date: Mon, 20 Oct 2008 20:22:19 +0530

Hi,

I am trying to compile a new file (dde.c) in gnumach-1-branch. I have
added the following to configfrag.ac in the top-level directory:

=== configfrag.ac ===

AC_ARG_ENABLE([dde],
  AS_HELP_STRING([--enable-dde], [enable use of DDE]))
[if [ x"$enable_dde" = xyes ]; then]
  AC_DEFINE([MACH_DDE], [1], [enable use of DDE])
  AM_CONDITIONAL([enable_dde], [true])
[else]
  AM_CONDITIONAL([enable_dde], [false])
[fi]

=== END ===

I have added the following in Makefrag.am:

=== Makefrag.am ===

if enable_dde
libkernel_a_SOURCES += \
  dde/dde.c
endif

=== END ===

When I use:
  autoreconf --install
  ./configure --enable-dde
  make

The dde.o module gets built in dde/ directory, and gets linked in libkernel.a:

===  nm libkernel.a | grep dde ===

dde.o:
00000000 T dde_init

=== END ===

But, it doesn't get loaded to gnumach:

  $ nm gnumach | grep dde
  $

The object module needs to be added to some loader variable?

Appreciate any help,

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]