compiling msvcrt with gcc4

James Hawkins truiken at gmail.com
Wed Apr 6 20:35:26 CDT 2005


On Apr 6, 2005 4:42 PM, James Hawkins <truiken at gmail.com> wrote:
> Hi,
> 
> I just installed FC4 test1 with gcc4,
> 
> gcc (GCC) 4.0.0 20050405 (Red Hat 4.0.0-0.40)
> 
> Compiling msvcrt produces these errors:
> 
> ../../../include/msvcrt/io.h:179: error: 'open' aliased to external
> symbol '_open'
> ../../../include/msvcrt/io.h:180: error: 'sopen' aliased to undefined
> symbol '_sopen'
> ../../../include/msvcrt/process.h:129: error: 'execl' aliased to
> undefined symbol '_execl'
> ../../../include/msvcrt/process.h:130: error: 'execle' aliased to
> undefined symbol '_execle'
> ../../../include/msvcrt/process.h:131: error: 'execlp' aliased to
> undefined symbol '_execlp'
> ../../../include/msvcrt/process.h:132: error: 'execlpe' aliased to
> undefined symbol '_execlpe'
> ../../../include/msvcrt/process.h:133: error: 'spawnl' aliased to
> undefined symbol '_spawnl'
> ../../../include/msvcrt/process.h:134: error: 'spawnle' aliased to
> undefined symbol '_spawnle'
> ../../../include/msvcrt/process.h:135: error: 'spawnlp' aliased to
> undefined symbol '_spawnlp'
> ../../../include/msvcrt/process.h:136: error: 'spawnlpe' aliased to
> undefined symbol '_spawnlpe'
> 
> Is this a gcc4 problem or something we can fix?

Here are a couple links that somewhat explain the problem:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152425
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01593.html
http://gcc.gnu.org/onlinedocs/gcc/Weak-Pragmas.html

-- 
James Hawkins



More information about the wine-devel mailing list