Hello,
    We are developper in Financial Sector. Now we try to port our
application writing with 4gl tool from Informix from platform AIX to
Linux.  We found that c compiler on Linux can not support multiple
definition of funtion name, here is the error message

        [informix@sbaweb post]$ c4gl mainlink.4gl sub1link.4gl
sub2link.4gl -o mainlink
        /tmp/cca011523.o: In function `local_cal':
        /tmp/cca011523.o(.text+0x11c): multiple definition of
`local_cal'
        /tmp/cca011522.o(.text+0xf8): first defined here
        [informix@sbaweb post]$

On AIX and Solaris x86 there were no error, actually we have to use some
option for linking program on Solaris to work correctly but for AIX
there was no problem. So I would like to know that c compiler or linking
program  on Linux can support multiple definition or not because we
cannot find option that might help us. Our programs use a lot of
multiple definition and we do not have much time to re-write them and We
think this feature is a must for complier in order to link libs or
shared modules.Do you have any suggestion for us ?

Best Regards,
Piriya Kevalee ( [EMAIL PROTECTED] )
Kernel Computers and Communications Co.,Ltd

Reply via email to