(usagi-users 03718) Re: is there a minimum gcc version requirement?
Tim McFadden <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
Dear Mr. Craig,
When I did the earlier USAGI release, using SUSE Linux 10.0, I had to
change the source code to avoid compile errors.
I couldn't find any gcc options that would fix them.
The good news is that the apps appear to work and the new kernel boots.
Tim McFadden
-------------------------------------------
Interniche Technologies Inc.
51 East Campbell Avenue, Suite 160
Campbell, CA, 95008
Ph: 408-540-1160x207
Fax: 408-540-1161
www.iniche.com
jackc wrote:
> hi folks,
>
> i am trying to build the 09042006 release. my RH has gcc 3.4.3.
> with a minor tweak to a switch/case stmnt, i was able to buld the
> libraries.
>
> but, i am getting a compile error on building comsat, ...
>
> make[1]: Leaving directory `/home/jackc/ipv6/usagi/usagi/libnet-tools'
> for subdir in comsat; do \
> make -C $subdir; \
> done
> make[1]: Entering directory `/home/jackc/ipv6/usagi/usagi/comsat'
> gcc -I../libinet6/include -g -O2 -D_USAGI -DINET6 -c -o comsat.o
> comsat.c
> In file included from /usr/include/sys/socket.h:35,
> from comsat.c:47:
> ../libinet6/include/bits/socket.h:265: error: syntax error before '{'
> token
> ../libinet6/include/bits/socket.h:274: error: invalid type argument of
> `->'
> ../libinet6/include/bits/socket.h:275: error: syntax error before "if"
> make[1]: *** [comsat.o] Error 1
> make[1]: Leaving directory `/home/jackc/ipv6/usagi/usagi/comsat'
> make: *** [apps] Error 2
>
> any suggestions? thx...
>