bugClanLib - Bugs: bug #5345, cross compiling fails

 
 

bug #5345: cross compiling fails

Submitted by:  Ingo Ruhnke <grumbel>
Submitted on:  Tue 16 Sep 2003 02:03:14 PM UTC  
 
Category: HermesSeverity: 3 - Normal
Item Group: Build ProblemStatus: None
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Operating System: NonePlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 16 Sep 2003 02:03:14 PM UTC, original submission:

cross compiling fails:

if test "x`sed 1q .libs/libHermes.exp`" = xEXPORTS; then cp .libs/libHermes.exp .libs/libHermes-1.dll-def; else echo
EXPORTS > .libs/libHermes-1.dll-def; _lt_hint=1; cat .libs/libHermes.exp | while read symbol; do set dummy $symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/libHermes-1.dll-def;; 4) echo " $2 $3 $4 ; " >> .libs/libHermes-1.dll-def; _lt_hint=`expr $_lt_hint - 1`;; *) echo " $2 @
$_lt_hint $3 ; " >> .libs/libHermes-1.dll-def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi
i386-mingw32msvc-gcc -Wl,--base-file,.libs/libHermes-1.dll-base -Wl,-e,_DllMainCRTStartup@12 -o .libs/libHermes-1.dll .libs/libHermes.la-40.o
/usr/local/cross-tools/lib/gcc-lib/i386-mingw32msvc/3.2.3/../../../../i386-mingw32msvc/bin/ld: warning: cannot find entry symbol _DllMainCRTStartup@12; defaulting to 00401000
/usr/local/cross-tools/lib/gcc-lib/i386-mingw32msvc/3.2.3/../../../../i386-mingw32msvc/lib/libmingw32.a(main.o)(.text+0x97):main.c: undefined reference to `WinMain@16'
make[2]: *** [libHermes.la] Error 1

doing a ./configure --disable-shared works around this

Ingo Ruhnke <grumbel>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Wed 09 Feb 2005 03:50:38 PM UTCgrumbelOpen/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1