Convert GPS or GPX file to ESRI/Shape file using shapelib and proj4 etc. gps2shp, gpx2shp.
You can download file releases of gpx2shp project from List of release files
Customize