Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#21150 - [xl2tpd] does not build
Attached to Project:
Community Packages
Opened by OvsInc (OvsInc) - Friday, 08 October 2010, 11:44 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 11 October 2010, 08:07 GMT
Opened by OvsInc (OvsInc) - Friday, 08 October 2010, 11:44 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 11 October 2010, 08:07 GMT
|
DetailsDescription:
comunity/xl2tpd version 1.2.4 When I do makepkg I have this error: pfc.o: In function `main': pfc.c:(.text+0x6c): undefined reference to `pcap_open_dead' pfc.c:(.text+0x91): undefined reference to `pcap_compile' pfc.c:(.text+0xa1): undefined reference to `pcap_geterr' pfc.c:(.text+0x1a7): undefined reference to `bpf_dump' Steps to reproduce: I do this cc -march=i686 -mtune=generic -O2 -pipe -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I/usr/src/linux-2.6.35-ARCH/include/ -DUSE_KERNEL -DIP_ALLOCATION -c contrib/pfc.c cc -Wl,--hash-style=gnu -Wl,--as-needed -lpcap -o pfc pfc.o And I have the same error. And when cc -Wl,--hash-style=gnu -lpcap -o pfc pfc.o It`s work For gcc option --ass-needed - $(CC) $(LDFLAGS) -lpcap $(LDLIBS) -o pfc pfc.o + $(CC) $(LDFLAGS) -o pfc pfc.o -lpcap $(LDLIBS) |
This task depends upon
Closed by Sergej Pupykin (sergej)
Monday, 11 October 2010, 08:07 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks, fixed in svn, I think there is no need to rebuild binary packages.
Monday, 11 October 2010, 08:07 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks, fixed in svn, I think there is no need to rebuild binary packages.
as-needed.diff