Summary: | dhcp-3.0.2 compile failure: tr.c: error: syntax error before "__u16" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ed Catmur <ed> |
Component: | Current packages | Assignee: | Max Kalika (RETIRED) <max> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | dhcp-3.0.2-tr.c.patch |
Description
Ed Catmur
2005-08-14 04:43:45 UTC
Created attachment 65906 [details, diff]
dhcp-3.0.2-tr.c.patch
Add #include <linux/types.h> to tr.c
Ed, those CFLAGS are a bit crazy. If you want to use "-O3" then drop "-O1 and -O2". -mmmx, -msse, and -m3dnow are included by -march=athlon-xp and -fpmath=387 is the default setting. so... basically try.. CFLAGS="-pipe -march=athlon-xp -O3" granted this probably won't fix the error. It needs an #ifdef __linux__ #include <linux/types.h> #endif Thanks for the patch! Fixed in dhcp-3.0.3 BTW, It's wrapped with the #ifdef as above |