Bug 3376 - libunwind fails to build
Summary: libunwind fails to build
Status: ASSIGNED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 1976 3390
  Show dependency treegraph
 
Reported: 2006-10-17 21:30 UTC by Mark Howard
Modified: 2006-12-19 04:12 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Howard 2006-10-17 21:30:27 UTC
(Ubuntu build issue tracker)

The libunwind source included in frysk is failing to build. configure created
some files in the build directories from *.ins in the main frysk directory.
These directories are not included in the gcc arguments 

make[4]: Entering directory `/home/mh/frysk/build/frysk-imports/libunwind/src'
gcc -DHAVE_CONFIG_H -I..include
-I../../../../frysk/frysk-imports/libunwind/include -I.
-I../../../../frysk/frysk-imports/libunwind/src -D_GNU_SOURCE -DNDEBUG  -g -O2
-fexceptions -Wall -Wsign-compare -MMD -MT elf32.os -o elf32.o -c
../../../../frysk/frysk-imports/libunwind/src/elf32.c
In file included from ../../../../frysk/frysk-imports/libunwind/src/elfxx.h:33,
                 from ../../../../frysk/frysk-imports/libunwind/src/elf32.h:5,
                 from ../../../../frysk/frysk-imports/libunwind/src/elf32.c:2:
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:34:21: error:
config.h: No such file or directory
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:49:23: warning:
libunwind.h: No such file or directory
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:64:5: error:
#error Host has unknown byte-order.
In file included from ../../../../frysk/frysk-imports/libunwind/src/elfxx.h:33,
                 from ../../../../frysk/frysk-imports/libunwind/src/elf32.h:5,
                 from ../../../../frysk/frysk-imports/libunwind/src/elf32.c:2:
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:178: error:
expected ‘)’ before ‘(’ token
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:212: error:
expected ‘)’ before ‘(’ token
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:216: error:
expected ‘)’ before ‘(’ token
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:222: error:
expected ‘)’ before ‘(’ token
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:228: error:
expected ‘)’ before ‘(’ token
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:233: error:
expected ‘)’ before ‘(’ token
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:236: error:
expected ‘)’ before ‘(’ token
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:238: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_dyn_info_list’
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:275: error:
expected ‘)’ before ‘(’ token
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:276: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_U_dyn_info_list_addr’
../../../../frysk/frysk-imports/libunwind/include/libunwind_i.h:286:30: error:
tdep/libunwind_i.h: No such file or directory
In file included from ../../../../frysk/frysk-imports/libunwind/src/elf32.h:5,
                 from ../../../../frysk/frysk-imports/libunwind/src/elf32.c:2:
../../../../frysk/frysk-imports/libunwind/src/elfxx.h:71: error: expected ‘)’
before ‘as’
In file included from ../../../../frysk/frysk-imports/libunwind/src/elf32.c:3:
../../../../frysk/frysk-imports/libunwind/src/elfxx.c:42: error: expected ‘)’
before ‘ip’
../../../../frysk/frysk-imports/libunwind/src/elfxx.c:141: error: expected ‘)’
before ‘as’
Comment 1 Andrew Cagney 2006-10-27 18:26:15 UTC
Which files? libunwind.h and config.h?  Where exactly did they end up?

This is pretty mistifying!  I just wonder if its an authconf version thing :-/