Ticket #21762 (closed defect: fixed)
tuntaposx not building on 10.5
| Reported by: | quest@… | Owned by: | febeling@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.1 |
| Keywords: | Cc: | michael.klein@…, remy.blank@…, stransky@…, info@… | |
| Port: | tuntaposx |
Description
questmbp:~ quest$ sudo port clean tuntaposx
---> Cleaning tuntaposx
questmbp:~ quest$ sudo port -u upgrade outdated
---> Computing dependencies for tuntaposx
---> Fetching tuntaposx
---> Verifying checksum(s) for tuntaposx
---> Extracting tuntaposx
---> Applying patches to tuntaposx
---> Configuring tuntaposx
---> Building tuntaposx
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_tuntaposx/work/tuntap" && /usr/bin/make -j1 all " returned error 2
Command output: cd src/tap && make TUNTAP_VERSION=20090913 -f Makefile all
/usr/bin/g++-4.0 -Wall -mkernel -force_cpusubtype_ALL -fno-builtin -fno-stack-protector -O2 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20090913\" -DTAP_KEXT_VERSION=\"20090913\" -I.. -I/System/Library/Frameworks/Kernel.framework/Headers -c ../tuntap.cc -o ../tuntap.o
../tuntap.cc: In member function 'virtual bool tuntap_interface::register_interface(const sockaddr_dl*, void*, u_int32_t)':
../tuntap.cc:329: error: invalid conversion from 'errno_t (*)(ifnet*, long unsigned int, void*)' to 'errno_t (*)(ifnet*, u_int32_t, void*)'
make[1]: * tuntap.o Error 1
make: * [tap.kext] Error 2
Attachments
Change History
comment:2 Changed 4 years ago by toby@…
- Keywords tuntaposx removed
- Priority changed from High to Normal
- Cc quest@… removed
comment:4 Changed 4 years ago by michael.klein@…
According to the homepage, you need Snow Leopard to compile the latest tuntaposx. Upstream doesn't want to fix: http://sourceforge.net/tracker/?func=detail&aid=2871574&group_id=235725&atid=1097639
Looks like it's just about changing a few "unsigned long" back to "uint32_t", see above patch.
comment:9 in reply to: ↑ description Changed 3 years ago by info@…
michael.klein's patch does seem to fix the problem on 10.5.8 on PPC.
comment:10 Changed 3 years ago by jmr@…
- Status changed from new to closed
- Resolution set to fixed


Cc Me!