Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7321 - netcat doesn't compile
Summary: netcat doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-01 02:04 UTC by Konrad Miller
Modified: 2011-10-30 22:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Miller 2002-09-01 02:04:10 UTC
i have the up to date portage tree from Sun Sep  1 09:03:00 UTC 2002

phoenix netcat # emerge netcat-110.ebuild
Calculating dependencies ...done!
>>> emerge net-analyzer/netcat-110 to /
>>> md5 ;-) nc110.tgz
>>> Unpacking source...
>>> Source unpacked.
sed: can't read netcat.c.orig: No such file or directory
make -e nc  XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/var/tmp/portage/netcat-110/work/nc-110'
gcc -O3 -mcpu=i686 -march=i686 -fforce-addr -fomit-frame-pointer -funroll-loops
-frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -s      -DLINUX
-static -o nc netcat.c
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [nc] Error 1
make[1]: Leaving directory `/var/tmp/portage/netcat-110/work/nc-110'
make: *** [linux] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 11, Exitcode 2
!!! (no error message)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-01 02:09:54 UTC
argh, I made a typo in the ebuild.  it's been fixed in portage. sorry about that.
Comment 2 Konrad Miller 2002-09-01 10:03:47 UTC
No problem, thank you for the fast answer and fix :))

Konrad