Kim
Sendt fra min iPad 3G
> --
> You received this message because you are subscribed to the Google Groups "OpenROAD Users Mailing List" group.
> To post to this group, send email to openroa...@googlegroups.com.
> To unsubscribe from this group, send email to openroad-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/openroad-users?hl=en.
>
Just from looking at your makefile I see:
# Update the object file if necessary
$(FILENAM).obj: $(FILENAM).c $(SUBFILE).c
$(cc) $(cdebug) $(cflags) -I. /W3 -DDBNTWIN32 $(cvarsdll) $
(FILENAM).c $(SUBFILE).c
IMHO (without testing) this will actually create two object files:
systm.o (from systm.c)and printqry.o (from printqry.c)
But you link command only uses $(FILENAM).obj, that is only systm.o is
used.
Therefore the printqry function defined in printqry.c is not linked.
Try with the following changes:
From:
OBJS=$(FILENAM).obj
Into:
OBJS=$(FILENAM).obj $(SUBFILE).obj
...
Then remove $(SUBFILE).c from the above $(FILENAM).obj target
definition,
add a new target definition for $(SUBFILE).obj using $(SUBFILE).c and
change the other target definitions to use both object files.
Bodo.
Hi all,
I then run :
Where makefile_ingres_2006 contains:
##############################################
FILENAM=systm
SUBFILE=printqry
##############################################
# macro defines
OBJS=$(FILENAM).obj
And systm.def contains
LIBRARY systm
EXPORTS systm