link problem

Frank Heckenbach ih8mj at
Fri Dec 12 09:42:43 CET 2003

mkhaldi at wrote:

> When I compile my module. First of all, I generate the interface
> with --interface-only flag. Then I generate implementation with
> --implementation-only flag. This way seems to be wrong. Actually,
> When I use this way, no Init_ModuleName symbol appears.
> "gpc -c --implementation-only  testModule.p; nm -A testModule.o" gives :
> But When I use the normal compilation command line, I get this :
> Another symbol appears : init_M

Try the attached patch.

> Is there another way to bypass this problem?

You could try compiling without and "-only" switch the 2nd time.
This will regenerate the gpi files, but shouldn't hurt.


Frank Heckenbach, frank at,, 7977168E
GPC To-Do list, latest features, fixed bugs:
GPC download signing key: 51FF C1F0 1A77 C6C2 4482  4DDC 117A 9773 7F88 1707
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpc.diff-implementation-only
Type: application/octet-stream
Size: 1096 bytes
Desc: not available
URL: <>

More information about the Gpc mailing list